From: Roland Häder Date: Thu, 29 Sep 2011 00:19:26 +0000 (+0000) Subject: Fixes for 'empty what' message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a0e04c33ad3ad4f1fad06ef30e4c5d354ac4e416;p=mailer.git Fixes for 'empty what' message --- diff --git a/inc/filters.php b/inc/filters.php index 1900121595..8508ceae61 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -714,7 +714,15 @@ function FILTER_DETERMINE_WHAT_ACTION () { // Fix 'action' if not yet set if (!isActionSet()) { - setAction(getActionFromModuleWhat(getModule(), getWhat())); + // Is 'what' set? + if (isWhatSet()) { + // Set action + setAction(getActionFromModuleWhat(getModule(), getWhat())); + } else { + // Set action/what to empty + setAction(''); + setWhat(''); + } } // END - if } else { // Set action/what to empty