X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-bonus.php;h=913982ff5bc0add4d90e3b527aedc51eca581142;hp=9787b3e02dcc73ee5a2d290e3d554db14aa68535;hb=2cce06a4f4ff6bdbf0a14dcf7d2a89944b472c69;hpb=777553ad962957b53a4dc71cbf5cddfad9c4d1fa diff --git a/inc/extensions/ext-bonus.php b/inc/extensions/ext-bonus.php index 9787b3e02d..913982ff5b 100644 --- a/inc/extensions/ext-bonus.php +++ b/inc/extensions/ext-bonus.php @@ -262,7 +262,7 @@ KEY userid (userid) break; case "0.4.0": // SQL queries for v0.4.0 - $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD bonus_timeout BIGINT(20) UNSIGNED NOT NULL DEFAULT '".(ONE_DAY * 7)."'"; + $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD bonus_timeout BIGINT(20) UNSIGNED NOT NULL DEFAULT '".($_CONFIG['one_day']*7)."'"; $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_config ADD bonus_lines BIGINT(20) UNSIGNED NOT NULL DEFAULT '10'"; // Update notes (these will be set as task text!)