]> git.mxchange.org Git - mailer.git/blobdiff - inc/filter/beg_filter.php
Rewrote handling of 'menu adverts' to a filter. This allows e.g. ext-clickbanner...
[mailer.git] / inc / filter / beg_filter.php
index c8def8276d04e9e6cef5f4c81b64f8a4ac11563a..7c3cfc1c45e29289e1fbb3300aa221d221d2fdd4 100644 (file)
@@ -46,13 +46,13 @@ function FILTER_BEG_RALLYE_USER_REGISTRATION_ADD_SQL_COLUMNS ($filterData) {
 
        // Add columns for begging rallye, if active
        if (!isBegNewMemberNotifyEnabled()) {
-               $GLOBALS['register_sql_columns'] .= ', `beg_rallye_enable_notify`, `beg_rallye_disable_notify`';
-               $GLOBALS['register_sql_data']    .= ', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()';
+               addExtraRegistrationColumns(', `beg_rallye_enable_notify`, `beg_rallye_disable_notify`');
+               addExtraRegistrationData(', UNIX_TIMESTAMP(), UNIX_TIMESTAMP()');
        } // END - if
 
        // Return filter data
        //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'Done!');
-       //* NOISY-DEBUG: */ print __FUNCTION__.':filterData=<pre>'.print_r($filterData,true).'</pre>';
+       //* NOISY-DEBUG: */ print __FUNCTION__.':filterData=<pre>'.print_r($filterData,TRUE).'</pre>';
        return $filterData;
 }