Kaynağa Gözat

avoid E_STRICT errors

pdontthink 17 yıl önce
ebeveyn
işleme
dc10ee7589
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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 
     // directly changing the arguments array contents 
     // in your plugin e.g., $args[0] = 'new_username';
     // 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);
 }
 }