WordPress.org

Plugin Directory

Changeset 610110


Ignore:
Timestamp:
10/09/12 18:16:03 (19 months ago)
Author:
sushkov
Message:

Fixed typo not adding teacher role response capabilities.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • buddypress-courseware/trunk/responses/responses.class.php

    r532522 r610110  
    8585        $is_teacher = false; 
    8686         
    87         if( __( 'Teacher', 'bpsp') == xprofile_get_field_data( __( 'Role', 'bpsp' ), $bp->loggedin_user->id ) ) 
     87        if( __( 'Teacher', 'bpsp') == xprofile_get_field_data( __( 'Role', 'bpsp' ), $user_id ) ) 
    8888            $is_teacher = true; 
    8989        elseif ( is_super_admin( $user_id ) ) 
Note: See TracChangeset for help on using the changeset viewer.