Show
Ignore:
Timestamp:
03/05/2008 06:29:54 PM (10 months ago)
Author:
Shadowhand
Message:

Fixing #464, thanks zeelot.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/modules/auth/libraries/Auth.php

    r2091 r2225  
    9090                        { 
    9191                                // Check that the user has the given role 
    92                                 $status = $user->has_role($role); 
     92                                $status = $_SESSION['auth_user']->has_role($role); 
    9393                        } 
    9494                }