Fixes for ext-online (not perfect, but working)
[mailer.git] / inc / filter / online_filter.php
index e24b674fd374d86103c5f908e1e8b9e99d06aaff..bd7726565414c84eae4f41ff320b61375b9144c4 100644 (file)
@@ -59,7 +59,7 @@ function FILTER_UPDATE_ONLINE_LIST ($filterData) {
        $userid   = NULL;
        $isMember = convertBooleanToYesNo(isMember());
        $isAdmin  = convertBooleanToYesNo(isAdmin());
-       $action   = getActionFromModuleWhat(getModule(), getWhat());
+       $action   = getActionFromModuleWhat(getModule(), getWhat(false));
 
        // Valid userid?
        if (isMember()) {
@@ -92,7 +92,7 @@ LIMIT 1",
                array(
                        getModule(),
                        $action,
-                       getWhat(),
+                       getWhat(false),
                        convertZeroToNull($userid),
                        convertZeroToNull(determineReferralId()),
                        $isMember,
@@ -106,7 +106,7 @@ LIMIT 1",
                        array(
                                getModule(),
                                $action,
-                               getWhat(),
+                               getWhat(false),
                                convertZeroToNull($userid),
                                convertZeroToNull(determineReferralId()),
                                $isMember,