fix errors reported by Facebook's scheck

This commit is contained in:
Martin Konecny 2013-05-28 17:30:48 -04:00
parent 73a908055a
commit 4ed7c4ccd3
8 changed files with 16 additions and 10 deletions

View file

@ -388,6 +388,7 @@ class Application_Model_ShowBuilder
$outdated = false;
$shows = Application_Model_Show::getShows($this->startDT, $this->endDT);
$include = array();
if ($this->opts["showFilter"] !== 0) {
$include[] = $this->opts["showFilter"];
} elseif ($this->opts["myShows"] === 1) {