瀏覽代碼

avoid E_STRICT errors

pdontthink 17 年之前
父節點
當前提交
dc02d60b02
共有 1 個文件被更改,包括 2 次插入1 次删除
  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;