]> git.mxchange.org Git - mailer.git/commitdiff
Fix for missing config entry 'beg_new_member_notify'
authorquix0r <quix0r@mxchange.org>
Mon, 28 Jun 2010 02:00:50 +0000 (02:00 +0000)
committerquix0r <quix0r@mxchange.org>
Mon, 28 Jun 2010 02:00:50 +0000 (02:00 +0000)
inc/extensions/ext-beg.php

index 070c3728650fae375d12d2c919f5bafc2d55be22..214f330e5a4c45486328a9b09e5ec7fe71258a28 100644 (file)
@@ -292,7 +292,7 @@ PRIMARY KEY (id)
                $result_ext = SQL_QUERY("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_beg_ips` WHERE `timeout` < (UNIX_TIMESTAMP() - ".($OLD + 60*60).")", __FILE__, __LINE__);
 
                // Check for beg rallye is active and send mails out
-               if ((getConfig('beg_rallye') == 'Y') && (getConfig('beg_new_member_notify') == 'Y')) {
+               if ((getConfig('beg_rallye') == 'Y') && (getExtensionVersion('beg') >= '0.2.8') && (getConfig('beg_new_member_notify') == 'Y')) {
                        // Include file for sending out mails
                        addIncludeToPool('notify', 'inc/mails/beg_mails.php');
                } // END - if