mirror of
https://github.com/friendica/friendica
synced 2024-11-13 01:42:59 +00:00
Lost lines are back
This commit is contained in:
parent
28a28f00a4
commit
34bb34b9a4
1 changed files with 2 additions and 0 deletions
|
@ -743,6 +743,8 @@ function dbesc($str) {
|
||||||
// 'user', 1);
|
// 'user', 1);
|
||||||
function q($sql) {
|
function q($sql) {
|
||||||
global $db;
|
global $db;
|
||||||
|
$args = func_get_args();
|
||||||
|
unset($args[0]);
|
||||||
|
|
||||||
if ($db && $db->connected) {
|
if ($db && $db->connected) {
|
||||||
$sql = $db->any_value_fallback($sql);
|
$sql = $db->any_value_fallback($sql);
|
||||||
|
|
Loading…
Reference in a new issue