From 5cea52ff59a07d1ecdb18d242975ccdfbbb56c2b Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sat, 29 Apr 2017 00:00:39 +0200 Subject: [PATCH] Fix query in Videos class --- nntmux/processing/Videos.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nntmux/processing/Videos.php b/nntmux/processing/Videos.php index 1ab3b383e..dd9b05770 100755 --- a/nntmux/processing/Videos.php +++ b/nntmux/processing/Videos.php @@ -126,7 +126,7 @@ abstract class Videos protected function getVideoIDFromSiteID($siteColumn, $siteID) { if (in_array($siteColumn, Videos::$sites, false)) { - $result = $this->pdo->queryOneRow('SELECT id FROM videos WHERE $siteColumn = %d', $siteID); + $result = $this->pdo->queryOneRow("SELECT id FROM videos WHERE $siteColumn = %d", $siteID); return isset($result['id']) ? (int)$result['id'] : false; }