From d9a1e22fe0fe39c6fe11be306c11df331bf21d3b Mon Sep 17 00:00:00 2001 From: Michael Roterman Date: Sat, 8 Mar 2014 22:59:36 +0100 Subject: [PATCH] Fix wrong reference. --- lib/Tmdb/Repository/TvRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Tmdb/Repository/TvRepository.php b/lib/Tmdb/Repository/TvRepository.php index a3b55e99..8f96bac7 100644 --- a/lib/Tmdb/Repository/TvRepository.php +++ b/lib/Tmdb/Repository/TvRepository.php @@ -176,7 +176,7 @@ public function getTopRated(array $options = array()) public function getOnTheAir(array $options = array()) { return $this->getFactory()->createResultCollection( - $this->getApi()->getTopRated($options) + $this->getApi()->getOnTheAir($options) ); } }