summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKakysha <ezhikvdele@gmail.com>2013-12-14 02:23:23 +0100
committerKakysha <ezhikvdele@gmail.com>2013-12-14 02:26:13 +0100
commita3f91b9e16ec70a079b8489ffc6a7ff310b35986 (patch)
tree995aa3657e545d60c492ab7a146b30996667a45e
parent37fe56fe9442e728893f6cc2a8cc4cfabf9f14c9 (diff)
DB call_function() bug : funny typo -or- smart autocomplete?
-rw-r--r--system/database/DB_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 9aa6c5de5..72be14e4b 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1483,7 +1483,7 @@ abstract class CI_DB_driver {
}
return (func_num_args() > 1)
- ? call_user_func_array($function, array_splice(func_get_args(), 1))
+ ? call_user_func_array($function, array_slice(func_get_args(), 1))
: call_user_func($function);
}