Skip to content

Commit

Permalink
Fix parameter to auth plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
vboctor committed Apr 16, 2017
1 parent 0ec31e9 commit 52f825c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/authentication_api.php
Expand Up @@ -81,8 +81,8 @@
function auth_flags() {
static $s_flags = null;
if( is_null( $s_flags ) ) {
$s_flags = new AuthFlags();
$s_flags = event_signal( 'EVENT_AUTH_FLAGS', array( 'flags' => $s_flags ) );
$t_flags = new AuthFlags();
$s_flags = event_signal( 'EVENT_AUTH_FLAGS', $t_flags );
}

return $s_flags;
Expand Down

0 comments on commit 52f825c

Please sign in to comment.