aboutsummaryrefslogtreecommitdiffstats
path: root/include/dba
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-15 16:41:01 -0800
committerzotlabs <mike@macgirvin.com>2016-12-15 16:41:01 -0800
commit6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942 (patch)
tree298dc27934a437f93e029285d006b4532dbcc860 /include/dba
parent95485a0da21553a44e10a2e17fb47fc910523f89 (diff)
downloadvolse-hubzilla-6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942.tar.gz
volse-hubzilla-6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942.tar.bz2
volse-hubzilla-6cf17c7bcc01bfb4dc0ffc96ca921c2f6baf6942.zip
use array_shift - it's cleaner
Diffstat (limited to 'include/dba')
-rwxr-xr-xinclude/dba/dba_driver.php2
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);