summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authoradmin <devnull@localhost>2006-09-28 19:13:38 +0200
committeradmin <devnull@localhost>2006-09-28 19:13:38 +0200
commitee54c112bfb488f833fa032758b817e1bb2c1d7d (patch)
tree0f88961293c374d2f6da29856466b75ce319e119 /system/database/DB_driver.php
parente721cc7c81af84dcabce2992fa693ce36b605a19 (diff)
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index d25135ea6..94db84bbf 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -726,8 +726,8 @@ class CI_DB_driver {
}
else
{
- $args = (func_num_args() > 1) ? array_shift(func_get_args()) : null;
-
+ $args = (func_num_args() > 1) ? array_splice(func_get_args(), 1) : null;
+
return call_user_func_array($function, $args);
}
}