mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 17:58:59 +00:00
Fix one more occurence
This commit is contained in:
@@ -91,7 +91,7 @@ abstract class Videos
|
||||
*/
|
||||
protected function getSiteIDFromVideoID($siteColumn, $videoID)
|
||||
{
|
||||
if (in_array($siteColumn, $this->sites, false)) {
|
||||
if (in_array($siteColumn, Videos::$sites, false)) {
|
||||
$result = $this->pdo->queryOneRow("SELECT $siteColumn FROM videos WHERE id = $videoID");
|
||||
|
||||
return $result[$siteColumn] ?? false;
|
||||
|
||||
Reference in New Issue
Block a user