cc-4347: PDOOOOOOOOOOOOOOOO
This commit is contained in:
parent
cd9e89560d
commit
264e909d5a
|
@ -145,9 +145,10 @@ class Application_Model_Show
|
||||||
|
|
||||||
$sql = "SELECT subjs_id
|
$sql = "SELECT subjs_id
|
||||||
FROM cc_show_hosts
|
FROM cc_show_hosts
|
||||||
WHERE show_id = {$this->_showId}";
|
WHERE show_id = :show_id";
|
||||||
|
|
||||||
$hosts = $con->query($sql)->fetchAll();
|
$hosts = Application_Common_Database::prepareAndExecute(
|
||||||
|
$sql, array( ':show_id' => $this->getId() ), 'all');
|
||||||
|
|
||||||
return $hosts;
|
return $hosts;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue