fix spelling of variable name which made its meaning confusing
[squirrelmail.git] / functions / auth.php
index ba8ff5d4835bf0e4aad7656904cfdb0be7277260..7cd8538ea8a247ef74f79f6708ceb52f40a263ba 100644 (file)
@@ -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);
 }