Lost lines are back

This commit is contained in:
Michael 2017-04-24 06:24:03 +00:00
parent 28a28f00a4
commit 34bb34b9a4

View file

@ -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);