diff --git a/bureau/admin/mail_undelete.php b/bureau/admin/mail_undelete.php index 5c143a59..54627727 100644 --- a/bureau/admin/mail_undelete.php +++ b/bureau/admin/mail_undelete.php @@ -25,7 +25,7 @@ require_once("../class/config.php"); $fields = array ( - "mail_id" => array ("post", "integer", ""), + "mail_id" => array ("get", "integer", ""), ); getFields($fields); diff --git a/bureau/class/m_mail.php b/bureau/class/m_mail.php index 9a5dcc99..fc1f5c07 100644 --- a/bureau/class/m_mail.php +++ b/bureau/class/m_mail.php @@ -560,7 +560,7 @@ ORDER BY $mail_id = intval($mail_id); if (!$mail_id) { - $err->raise("mail", _("The email you entered is syntaxically incorrect")); + $err->raise("mail", _("The email you entered does not exist")); return false; } // Validate that this email is owned by me...