Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error in ACL #39

Closed
sergeyklay opened this issue Dec 31, 2012 · 1 comment
Closed

Fatal Error in ACL #39

sergeyklay opened this issue Dec 31, 2012 · 1 comment

Comments

@sergeyklay
Copy link
Contributor

Only in production mode

class Gleez_ACL {
 ...
 ...
 ...
 public static function check($perm_name, Model_User $user = NULL)
 {
    if (is_null($user))
    {
      $user = User::active_user();
      echo Debug::vars($user);exit; // Attention here! $user is NULL
    }
 }
@sergeyklay
Copy link
Contributor Author

fixed in #40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant