Change in requestID.php

This commit is contained in:
Darko
2014-03-25 14:25:20 +01:00
parent 2ddc2ea611
commit 9dcbbcc5cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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);