Revert "Remove pass-by-reference."
authorGunnar Wrobel <p@rdus.de>
Thu, 2 Dec 2010 03:31:07 +0000 (04:31 +0100)
committerGunnar Wrobel <p@rdus.de>
Thu, 2 Dec 2010 03:31:07 +0000 (04:31 +0100)
This reverts commit 44a7dc1d72fee00f19765743d068b4c6f849b333.

framework/Auth/lib/Horde/Auth/Pam.php

index 7c44d8f..d56351f 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);
         }
     }