fixing a branching issue in mail_doedit, fixes #164
This commit is contained in:
parent
dee8d6f1b8
commit
41ad8b3632
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue