summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2013-12-14 20:32:28 +0100
committerDerek Jones <derek.jones@ellislab.com>2013-12-14 20:32:28 +0100
commit12e7b94de8c07cb51de4a171ca9476631a5631cf (patch)
tree995aa3657e545d60c492ab7a146b30996667a45e
parent37fe56fe9442e728893f6cc2a8cc4cfabf9f14c9 (diff)
parenta3f91b9e16ec70a079b8489ffc6a7ff310b35986 (diff)
Merge pull request #2770 from kakysha/themostawesomebranchevercreatedforcodeigniter
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);
}