]> git.mxchange.org Git - friendica.git/commitdiff
Lost lines are back
authorMichael <heluecht@pirati.ca>
Mon, 24 Apr 2017 06:24:03 +0000 (06:24 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 24 Apr 2017 06:24:03 +0000 (06:24 +0000)
include/dba.php

index 26da115b5761d3c042b3d567e7682ba91df662ff..ee62d309ccd2b6f4ebebb8dfb41fbb9b485b39bd 100644 (file)
@@ -743,6 +743,8 @@ function dbesc($str) {
 //                   'user', 1);
 function q($sql) {
        global $db;
+       $args = func_get_args();
+       unset($args[0]);
 
        if ($db && $db->connected) {
                $sql = $db->any_value_fallback($sql);