From 2aad2e564347f786e6d1446ab591ac50c73f1001 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Thu, 2 Dec 2010 04:31:07 +0100 Subject: [PATCH] Revert "Remove pass-by-reference." This reverts commit 44a7dc1d72fee00f19765743d068b4c6f849b333. --- framework/Auth/lib/Horde/Auth/Pam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Auth/lib/Horde/Auth/Pam.php b/framework/Auth/lib/Horde/Auth/Pam.php index 7c44d8f92..d56351f4f 100644 --- a/framework/Auth/lib/Horde/Auth/Pam.php +++ b/framework/Auth/lib/Horde/Auth/Pam.php @@ -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); } } -- 2.11.0