Refactor of logging code to suport multiple log engines
This commit is contained in:
@@ -77,7 +77,7 @@ class SihnonFramework_Database {
|
||||
public function selectList($sql, $bind_params = null) {
|
||||
if ($bind_params) {
|
||||
$stmt = $this->dbh->prepare($sql);
|
||||
|
||||
|
||||
foreach ($bind_params as $param) {
|
||||
$stmt->bindValue(':'.$param['name'], $param['value'], $param['type']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user