X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fextensions%2Fext-bonus.php;h=a5cf74ba55c0c90786c9174f66fd559421919fbb;hb=dec5f26a4db7bb18c22289cba3e26e19ef90ca74;hp=6f6c007fe524887603ec19a462d4d32176e425f8;hpb=c3a69502dc0ac76dd3c3100e6585fe38d1f71104;p=mailer.git diff --git a/inc/extensions/ext-bonus.php b/inc/extensions/ext-bonus.php index 6f6c007fe5..a5cf74ba55 100644 --- a/inc/extensions/ext-bonus.php +++ b/inc/extensions/ext-bonus.php @@ -570,7 +570,7 @@ WHERE `last_online` < ".$mark." ORDER BY `userid` ASC"); case 'init': // Do stuff when extension is initialized // Check for bonus rallye is active and send mails out - if ((getConfig('bonus_active') == 'Y') && (getConfig('bonus_new_member_notify') == 'Y')) { + if ((getExtensionVersion('bonus') >= '0.9.1') && (getConfig('bonus_active') == 'Y') && (getConfig('bonus_new_member_notify') == 'Y')) { // Include file for sending out mails addIncludeToPool('notify', 'inc/mails/bonus_mails.php'); } // END - if