Browse Source

avoid E_STRICT errors

pdontthink 17 năm trước cách đây
mục cha
commit
dc02d60b02
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      functions/display_messages.php

+ 2 - 1
functions/display_messages.php

@@ -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;