From 9dcbbcc5cb2ef41d99fdf2d7631c1889910a4cd0 Mon Sep 17 00:00:00 2001 From: Darko Date: Tue, 25 Mar 2014 14:25:20 +0100 Subject: [PATCH] Change in requestID.php --- bin/monitor.php | 2 +- bin/requestID.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/monitor.php b/bin/monitor.php index 0be9aa204..214506a92 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.3r1031"; +$version="0.3r1032"; $db = new DB(); $functions = new Functions(); diff --git a/bin/requestID.php b/bin/requestID.php index 9ee5e3854..a6b469a28 100644 --- a/bin/requestID.php +++ b/bin/requestID.php @@ -49,7 +49,7 @@ if ($bFound === true) { $groupname = $f->getByNameByID($pieces[2]); $determinedcat = $category->determineCategory($groupname, $title); $run = $db->queryDirect(sprintf("UPDATE releases SET rageID = -1, seriesfull = NULL, season = NULL, episode = NULL, tvtitle = NULL, tvairdate = NULL, imdbID = NULL, musicinfoID = NULL, consoleinfoID = NULL, bookinfoID = NULL, anidbID = NULL, " - . "preID = %d, reqidstatus = 1, isrenamed = 1, searchname = %s, categoryID = %d where ID = %d", $preid, $db->escapeString($title), $determinedcat, $pieces[0])); + . "prehashID = %d, reqidstatus = 1, isrenamed = 1, searchname = %s, categoryID = %d where ID = %d", $preid, $db->escapeString($title), $determinedcat, $pieces[0])); $groupid = $f->getIDByName($pieces[2]); if ($groupid !== 0) { $md5 = md5($title);