From 7e444c099434007082828f50a2f9d5cbddd52d20 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 17 Mar 2007 20:02:05 +0000 Subject: [PATCH] r1482: Allow NO_VERSION_CHECK constant to actually work by not spelling it "NO_VERSION_CHEK" --- admin/index.php | 2 +- docs/changes.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index 10d27d4..138759f 100755 --- a/admin/index.php +++ b/admin/index.php @@ -29,7 +29,7 @@ $admin->page_start(_('Home')); // ################################################################### -if (!defined('NO_VERSION_CHEK') OR constant('NO_VERSION_CHECK') != true) +if (!(defined('NO_VERSION_CHECK') AND constant('NO_VERSION_CHECK') == true)) { $check = @file_get_contents('http://www.bluestatic.org/versioncheck.php?prod=bugdar&ver=' . str_replace(' ', '-', $bugsys->options['trackerversion'])); if (strpos($check, '') !== false) diff --git a/docs/changes.txt b/docs/changes.txt index 8d9c874..44b8d46 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -6,6 +6,7 @@ - Fixed: Close a large bug that would cause a PHP error to be thrown regarding string offsets during notification processing - Fixed: Email notifications would be essentially empty in all circumstances - Change: Removed the stylevars system in place of additional CSS classes for formatting of tables and alternate row colors +- Fixed: Defining the NO_VERSION_CHECK constant wouldn't work due to a typo in admin/index.php 1.2.0 Beta 1 =============================== -- 2.22.5