Don't use GLOBALS['xxx'] -- Doesn't matter, but let's remain with a consistent coding...
[squirrelmail.git] / functions / display_messages.php
index a75dac4c194b0becb370139454ec4ee2ab75931d..5ef7941ae256927d39c1e0c5e621148109d0e312 100644 (file)
@@ -68,7 +68,8 @@ function logout_error( $errString, $errTitle = '' ) {
                         
     /* As of 1.5.2, plugin parameters are combined into one array; 
        plugins on this hook must be updated */
-    do_hook('logout_error', $temp=array(&$errString, &$errTitle, &$login_link));
+    $temp = array(&$errString, &$errTitle, &$login_link);
+    do_hook('logout_error', $temp);
 
     if ( $errTitle == '' ) {
         $errTitle = $errString;