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
|
@ -238,7 +238,7 @@ class Application_Model_User {
|
|||
}
|
||||
|
||||
$query = $con->query($sql)->fetchColumn(0);
|
||||
return $query ? $query : NULL;
|
||||
return ($query !== false) ? $query : NULL;
|
||||
}
|
||||
|
||||
public static function getHosts($search=NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue