fix error printing

This commit is contained in:
Isaac Connor 2019-09-19 14:56:34 -04:00
parent b9b52c964e
commit daa9f646fb
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ function dbQuery($sql, $params=NULL) {
}
if ( ! $result->execute($params) ) {
ZM\Error("SQL: Error executing $sql: " . implode(',', $result->errorInfo()));
ZM\Error("SQL: Error executing $sql: " . print_r($result->errorInfo(), true));
return NULL;
}
} else {