diff options
Diffstat (limited to 'include/auth.php')
-rw-r--r-- | include/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/auth.php b/include/auth.php index c4bbaf546..6c9c33861 100644 --- a/include/auth.php +++ b/include/auth.php @@ -124,7 +124,7 @@ if((isset($_SESSION)) && (x($_SESSION, 'authenticated')) && if(((x($_POST, 'auth-params')) && ($_POST['auth-params'] === 'logout')) || ($a->module === 'logout')) { // process logout request - $args = array('channel_id' => local_user()); + $args = array('channel_id' => local_channel()); call_hooks('logging_out', $args); nuke_session(); info( t('Logged out.') . EOL); |