fixing a branching issue in mail_doedit, fixes #164

This commit is contained in:
Benjamin Sonntag 2017-08-12 16:56:06 +02:00
parent dee8d6f1b8
commit 41ad8b3632
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ if (!$res=$mail->get_details($mail_id)) {
* Other elements by hooks
*/
$rh=$hooks->invoke("mail_edit_post",array($mail_id));
if (in_array(false,$res,true)) {
if (in_array(false,$rh,true)) {
include ("mail_edit.php");
exit();
} else {