diff --git a/actions/recoverpassword.php b/actions/recoverpassword.php index 4d1dd6f44b..9be3c45806 100644 --- a/actions/recoverpassword.php +++ b/actions/recoverpassword.php @@ -82,7 +82,7 @@ class RecoverpasswordAction extends Action { function show_top($msg=NULL) { if ($msg) { - $this->message($msg, $success); + common_element('div', 'error', $msg); } else { common_element('div', 'instructions', _t('If you\'ve forgotten or lost your' . @@ -94,7 +94,7 @@ class RecoverpasswordAction extends Action { function show_password_top($msg=NULL) { if ($msg) { - $this->message($msg, $success); + common_element('div', 'error', $msg); } else { common_element('div', 'instructions', _t('You\ve been identified . Enter a ' .