瀏覽代碼

avoid E_STRICT errors

pdontthink 17 年之前
父節點
當前提交
dc10ee7589
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      functions/auth.php

+ 2 - 1
functions/auth.php

@@ -287,5 +287,6 @@ function get_smtp_user(&$user, &$pass) {
     // directly changing the arguments array contents 
     // in your plugin e.g., $args[0] = 'new_username';
     //
-    do_hook('smtp_auth', $temp=array(&$user, &$pass));
+    $temp = array(&$user, &$pass);
+    do_hook('smtp_auth', $temp);
 }