mirror of
https://github.com/friendica/friendica
synced 2025-04-27 14:30:11 +00:00
some reported warnings cleaned up
This commit is contained in:
parent
a946b7cea3
commit
4e4f7ac79f
3 changed files with 11 additions and 8 deletions
|
@ -207,7 +207,10 @@ function q($sql) {
|
|||
unset($args[0]);
|
||||
|
||||
if($db && $db->connected) {
|
||||
$ret = $db->q(vsprintf($sql,$args));
|
||||
$stmt = vsprintf($sql,$args);
|
||||
if($stmt === false)
|
||||
logger('dba: vsprintf error: ' . print_r(debug_bracktrace(),true));
|
||||
$ret = $db->q($stmt);
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue