From a0e04c33ad3ad4f1fad06ef30e4c5d354ac4e416 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 29 Sep 2011 00:19:26 +0000 Subject: [PATCH] Fixes for 'empty what' message --- inc/filters.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 2.39.5