From ce1002c7bea03666fc3c08eb6bc6157cac83e961 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 30 Sep 2008 09:05:30 -0400 Subject: [PATCH] use two-arg constructor for confirmation code darcs-hash:20080930130530-5ed1f-48d4d4a503a6bb37c91d828139d652a272b9734a.gz --- actions/recoverpassword.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php index 1f2cff1975..c9813bcd08 100644 --- a/actions/recoverpassword.php +++ b/actions/recoverpassword.php @@ -50,7 +50,7 @@ class RecoverpasswordAction extends Action { function check_code() { $code = $this->trimmed('code'); - $confirm = Confirm_address::staticGet($code); + $confirm = Confirm_address::staticGet('code', $code); if (!$confirm) { $this->client_error(_('No such recovery code.'));