diff options
author | zotlabs <mike@macgirvin.com> | 2016-12-15 16:41:01 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-12-15 16:41:01 -0800 |
commit | 6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942 (patch) | |
tree | 298dc27934a437f93e029285d006b4532dbcc860 /include | |
parent | 95485a0da21553a44e10a2e17fb47fc910523f89 (diff) | |
download | volse-hubzilla-6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942.tar.gz volse-hubzilla-6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942.tar.bz2 volse-hubzilla-6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942.zip |
use array_shift - it's cleaner
Diffstat (limited to 'include')
-rwxr-xr-x | include/dba/dba_driver.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dba/dba_driver.php b/include/dba/dba_driver.php index 81a3bd590..e47f97387 100755 --- a/include/dba/dba_driver.php +++ b/include/dba/dba_driver.php @@ -337,7 +337,7 @@ function db_concat($fld, $sep) { function q($sql) { $args = func_get_args(); - unset($args[0]); + array_shift($args); if(\DBA::$dba && \DBA::$dba->connected) { $stmt = vsprintf($sql, $args); |