wernis extension is now alpha code (only listing in admin area is missing), naming...
[mailer.git] / inc / extensions / ext-birthday.php
index 42cf1e496967e83ccba143b23b7a43bca349af00..b28aab7e28697b6895f4026e3fcf0481c150efe1 100644 (file)
@@ -186,14 +186,14 @@ default: // Do stuff when extension is loaded
        $DUMMY = LOAD_CONFIG("0");
 
        // Copy config to main array
-       $CONFIG['birthday_points'] = $DUMMY['birthday_points'];
-       $CONFIG['birthday_mode']   = $DUMMY['birthday_mode'];
-       $CONFIG['birthday_active'] = $DUMMY['birthday_active'];
+       $_CONFIG['birthday_points'] = $DUMMY['birthday_points'];
+       $_CONFIG['birthday_mode']   = $DUMMY['birthday_mode'];
+       $_CONFIG['birthday_active'] = $DUMMY['birthday_active'];
 
        // Save some RAM...
        unset($DUMMY);
 
-       if ((defined('__DAILY_RESET')) && ($CONFIG['birthday_points'] > 0))
+       if ((defined('__DAILY_RESET')) && ($_CONFIG['birthday_points'] > 0))
        {
                // Daily reset was run and we shall pay points so we start checking for members who
                // has a birthday for today