Merge pull request #2770 from kakysha/themostawesomebranchevercreatedforcodeigniter
DB call_function() bug : funny typo -or- smart autocomplete?
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index 9aa6c5d..72be14e 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1483,7 +1483,7 @@
}
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);
}