1
1
Fork 0

Code cleanup

This commit is contained in:
Michael 2017-04-24 21:18:30 +00:00
parent 82f13441bc
commit ed437e978a

View file

@ -462,8 +462,6 @@ class dba {
$sql = self::$dbo->any_value_fallback($sql);
$orig_sql = $sql;
if (x($a->config,'system') && x($a->config['system'], 'db_callstack')) {
$sql = "/*".$a->callstack()." */ ".$sql;
}
@ -676,9 +674,7 @@ class dba {
call_user_func_array(array($stmt, 'bind_result'), $cols);
$success = $stmt->fetch();
if (!$success) {
if (!$stmt->fetch()) {
return false;
}