]> git.mxchange.org Git - mailer.git/commitdiff
Fixes for 'empty what' message
authorRoland Häder <roland@mxchange.org>
Thu, 29 Sep 2011 00:19:26 +0000 (00:19 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 29 Sep 2011 00:19:26 +0000 (00:19 +0000)
inc/filters.php

index 1900121595308ce218094a20a23754f5a6e24f82..8508ceae6164dd71e748bf1e237f0eb409110648 100644 (file)
@@ -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