From 2b8094fffb6d8bc091fc885af506c56313db8f7b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 17 Mar 2007 16:03:27 +0000 Subject: [PATCH] r1469: Misspelled TIMENOW in search.php which caused searches to not be rerun after 15 minutes --- docs/changes.txt | 3 ++- search.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index f89bca4..e60382f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -1,6 +1,7 @@ 1.2.0 Beta 2 =============================== -- Fixed: Emails wouldn't be sent out for new comments do to a bug with updating the notices array +- Fixed: Emails wouldn't be sent out for new comments due to a bug with updating the notices array +- Fixed: Searches wouldn't be rerun after 15 minutes because of a typo in the time calculation 1.2.0 Beta 1 =============================== diff --git a/search.php b/search.php index 05e29a8..ef7d144 100644 --- a/search.php +++ b/search.php @@ -90,10 +90,11 @@ if ($_REQUEST['do'] == 'search') if ($cachedsearch) { $show['cached'] = true; - if ($cachedsearch['dateline'] < TIMNOW - 900 OR $bugsys->in['rerun']) + if ($cachedsearch['dateline'] < TIMENOW - 900 OR $bugsys->in['rerun']) { $_REQUEST['do'] = 'process'; $bugsys->in = array_merge(unserialize($cachedsearch['query']), $bugsys->in); + $bugsys->debug('rerunning the search'); } else { -- 2.22.5