X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-rallye.php;h=8d2f9dd419de86067a6a98714273153df13d7cf3;hb=509ae618cc32ba2b811cf66567d62abc597dc405;hp=e4e2963dd80ea04cbd21a49073a847cef8a76985;hpb=b16d1f640a44da05b1f018be13e8d0b803a74aeb;p=mailer.git diff --git a/inc/extensions/ext-rallye.php b/inc/extensions/ext-rallye.php index e4e2963dd8..8d2f9dd419 100644 --- a/inc/extensions/ext-rallye.php +++ b/inc/extensions/ext-rallye.php @@ -50,7 +50,7 @@ EXT_SET_VER_HISTORY(array('0.0', '0.0.1', '0.0.2', '0.0.3', '0.0.4', '0.0.5', '0 switch ($EXT_LOAD_MODE) { - case 'register': // Do stuff when installation is running (modules.php?module=admin&action=login is called) + case 'register': // Do stuff when installation is running (modules.php?module=admin is called) // SQL commands to run ADD_EXT_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_rallye_data`"); ADD_EXT_SQL("DROP TABLE IF EXISTS `{!_MYSQL_PREFIX!}_rallye_prices`"); @@ -329,7 +329,7 @@ Zudem sollten Sie mindestens folgende Templates (in templates/".getLangu default: // Do stuff when extension is loaded // Do stuff only when not in CSS mode - if (($GLOBALS['output_mode'] != '1') && ($GLOBALS['output_mode'] != '-1') && ($GLOBALS['cache_mode'] != 'init')) { + if ((getOutputMode() != '1') && (getOutputMode() != '-1') && ($GLOBALS['cache_mode'] != 'init')) { // Get total member count $total = GET_TOTAL_DATA('CONFIRMED', 'user_data', 'userid', 'status', true);