diff --git a/nntmux/processing/Videos.php b/nntmux/processing/Videos.php index cf97ea613..1ab3b383e 100755 --- a/nntmux/processing/Videos.php +++ b/nntmux/processing/Videos.php @@ -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;