From: Roland Häder Date: Sun, 5 Oct 2008 21:10:10 +0000 (+0000) Subject: Fix for missing CSS variable X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5a00e42dbe7b62b8797533b0f47552b3a82b4cbe;p=mailer.git Fix for missing CSS variable --- diff --git a/inc/databases.php b/inc/databases.php index 7ce298f65a..a159ab009e 100644 --- a/inc/databases.php +++ b/inc/databases.php @@ -113,7 +113,7 @@ define('USAGE_BASE', "usage"); define('SERVER_URL', "http://www.mxchange.org"); // This current patch level -define('CURR_SVN_REVISION', "451"); +define('CURR_SVN_REVISION', "452"); // Take a prime number which is long (if you know a longer one please try it out!) define('_PRIME', 591623); diff --git a/inc/mails/beg_mails.php b/inc/mails/beg_mails.php index 06ed2b85de..824313d9bc 100644 --- a/inc/mails/beg_mails.php +++ b/inc/mails/beg_mails.php @@ -41,6 +41,7 @@ if (!defined('__SECURITY')) { } // Do not execute when script is in CSS mode +global $CSS; if ($CSS == 1) return; // Create timemark from saved month diff --git a/inc/mails/birthday_mails.php b/inc/mails/birthday_mails.php index e4b9716e83..ab74796524 100644 --- a/inc/mails/birthday_mails.php +++ b/inc/mails/birthday_mails.php @@ -41,6 +41,7 @@ if (!defined('__SECURITY')) { } // Do not execute when script is in CSS mode +global $CSS; if ($CSS == 1) return; // Get current day (01 to 31), month (01 to 12) and year (4-digits year) diff --git a/inc/mails/bonus_mails.php b/inc/mails/bonus_mails.php index 8634d0a496..a66f714ed3 100644 --- a/inc/mails/bonus_mails.php +++ b/inc/mails/bonus_mails.php @@ -41,6 +41,7 @@ if (!defined('__SECURITY')) { } // Do not execute when script is in CSS mode +global $CSS; if ($CSS == 1) return; // Create timemark from saved month