From 0cd47e8486644da33226befa89fcd1d984e441ab Mon Sep 17 00:00:00 2001 From: Darko Date: Fri, 26 Sep 2014 13:43:18 +0200 Subject: [PATCH] Fix for php notice. --- lib/copy_this/www/lib/RequestIDLocal.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/copy_this/www/lib/RequestIDLocal.php b/lib/copy_this/www/lib/RequestIDLocal.php index 6303e45b4..d9e276622 100644 --- a/lib/copy_this/www/lib/RequestIDLocal.php +++ b/lib/copy_this/www/lib/RequestIDLocal.php @@ -260,14 +260,14 @@ class RequestIDLocal extends RequestID sprintf(' UPDATE releases SET prehashID = %d, reqidstatus = %d, isrenamed = 1, iscategorized = 1, searchname = %s - WHERE id = %d', - $this->_newTitle['id'], + WHERE ID = %d', + $this->_newTitle['ID'], self::REQID_FOUND, $newTitle, - $this->_release['id'] + $this->_release['ID'] ) ); - $this->sphinx->updateReleaseSearchName($this->_release['id'], $newTitle); + $this->sphinx->updateReleaseSearchName($this->_release['ID'], $newTitle); } else { $newTitle = $this->pdo->escapeString($this->_newTitle['title']); $this->pdo->queryExec(