bug fix undelete mail

This commit is contained in:
Remi 2017-01-24 18:29:13 +01:00
parent 20dab5677a
commit 4a2d1dcbdf
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
require_once("../class/config.php"); require_once("../class/config.php");
$fields = array ( $fields = array (
"mail_id" => array ("post", "integer", ""), "mail_id" => array ("get", "integer", ""),
); );
getFields($fields); getFields($fields);

View File

@ -560,7 +560,7 @@ ORDER BY
$mail_id = intval($mail_id); $mail_id = intval($mail_id);
if (!$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; return false;
} }
// Validate that this email is owned by me... // Validate that this email is owned by me...