From b58a4d807ff201c90dcec4f511d3df75d9e8abea Mon Sep 17 00:00:00 2001 From: DariusIII Date: Thu, 17 Apr 2014 00:46:12 +0200 Subject: [PATCH] Possible fix for codec poster removal error --- bin/monitor.php | 2 +- lib/ReleaseRemover.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/monitor.php b/bin/monitor.php index e89443987..9ff125d17 100644 --- a/bin/monitor.php +++ b/bin/monitor.php @@ -9,7 +9,7 @@ require_once(dirname(__FILE__)."/../lib/showsleep.php"); require_once(dirname(__FILE__)."/../lib/functions.php"); -$version = "0.3r1099"; +$version = "0.3r1100"; $db = new DB(); $functions = new Functions(); diff --git a/lib/ReleaseRemover.php b/lib/ReleaseRemover.php index d6d9dccce..9396f2429 100644 --- a/lib/ReleaseRemover.php +++ b/lib/ReleaseRemover.php @@ -242,7 +242,7 @@ class ReleaseRemover } $this->crapTime = ' AND r.adddate > (NOW() - INTERVAL ' . - ($this->mysql ? $time . ' HOUR)' : $this->db->escapeString($time . ' HOURS')) . + ($this->mysql ? $this->db->escapeString($time . ' HOURS') : $time . ' HOUR)') . ' ORDER BY r.ID ASC'; break; }