CC-1927: Remove PEAR DB
-various fixes
This commit is contained in:
parent
235997c616
commit
cba253439a
6 changed files with 8 additions and 8 deletions
|
@ -459,7 +459,7 @@ class Application_Model_Show {
|
|||
." ORDER BY last_show DESC";
|
||||
|
||||
$query = $con->query($sql)->fetchColumn(0);
|
||||
return $query ? $query : "";
|
||||
return ($query !== false) ? $query : "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue