]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-birthday.php
Mahor rewrite:
[mailer.git] / inc / extensions / ext-birthday.php
index cf3da62bedbd78b91b5186bb3759f538c6e3241f..12a73934001dbe7e3570bcbabdd8b5064b3007fb 100644 (file)
@@ -193,7 +193,7 @@ case "test": // For testing purposes. For details see file inc/modules/admin/wha
        break;
 
 default: // Do stuff when extension is loaded
-       if ((isBooleanConstantAndTrue('__DAILY_RESET')) && ($_CONFIG['birthday_points'] > 0)) {
+       if ((isBooleanConstantAndTrue('__DAILY_RESET')) && (getConfig('birthday_points') > 0)) {
                // Daily reset was run and we shall pay points so we start checking for members who
                // has a birthday for today
                $INC_POOL[] = sprintf("%sinc/mails/birthday_mails.php", PATH);