X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-birthday.php;h=f1384dfc76288e7f7b179f433f0dc06a8a69240b;hb=c5fbd4afb0965d5f3b504d0547e60affb51d52c7;hp=42cf1e496967e83ccba143b23b7a43bca349af00;hpb=e1653405d28923c78b2e292125306ccf61138f24;p=mailer.git diff --git a/inc/extensions/ext-birthday.php b/inc/extensions/ext-birthday.php index 42cf1e4969..f1384dfc76 100644 --- a/inc/extensions/ext-birthday.php +++ b/inc/extensions/ext-birthday.php @@ -183,17 +183,17 @@ PRIMARY KEY(id) break; default: // Do stuff when extension is loaded - $DUMMY = LOAD_CONFIG("0"); + $dummy = LOAD_CONFIG(); // 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); + 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