From 41ad8b3632c5db582989c53a12adae5ff443b871 Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag Date: Sat, 12 Aug 2017 16:56:06 +0200 Subject: [PATCH] fixing a branching issue in mail_doedit, fixes #164 --- bureau/admin/mail_doedit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bureau/admin/mail_doedit.php b/bureau/admin/mail_doedit.php index e0eff849..734429d2 100644 --- a/bureau/admin/mail_doedit.php +++ b/bureau/admin/mail_doedit.php @@ -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 {