Remove pass-by-reference.
authorGunnar Wrobel <p@rdus.de>
Wed, 1 Dec 2010 20:59:51 +0000 (21:59 +0100)
committerGunnar Wrobel <p@rdus.de>
Wed, 1 Dec 2010 21:10:17 +0000 (22:10 +0100)
framework/Auth/lib/Horde/Auth/Pam.php

index d56351f..7c44d8f 100644 (file)
@@ -65,7 +65,7 @@ class Horde_Auth_Pam extends Horde_Auth_Base
         }
 
         $error = null;
-        if (!pam_auth($userId, $credentials['password'], &$error)) {
+        if (!pam_auth($userId, $credentials['password'], $error)) {
             throw new Horde_Auth_Exception($error);
         }
     }