summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-07-01 23:46:24 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-07-01 23:46:24 +0200
commit3c993ba07d0ac4c96e0b584a1f7678d177dee7f6 (patch)
treeed286f437ae6e000d2e4d0ae2debd680b63925a9
parent3da427e94bb5f4d0d609cd4b868b2796e5e50a65 (diff)
If you don't know an answer, just say that you don't know.
-rw-r--r--system/helpers/array_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/array_helper.php b/system/helpers/array_helper.php
index 6a7c8e3c7..216f12e56 100644
--- a/system/helpers/array_helper.php
+++ b/system/helpers/array_helper.php
@@ -50,7 +50,7 @@ if ( ! function_exists('element'))
* @param mixed
* @return mixed depends on what the array contains
*/
- function element($item, $array, $default = FALSE)
+ function element($item, $array, $default = NULL)
{
return empty($array[$item]) ? $default : $array[$item];
}
@@ -87,7 +87,7 @@ if ( ! function_exists('elements'))
* @param mixed
* @return mixed depends on what the array contains
*/
- function elements($items, $array, $default = FALSE)
+ function elements($items, $array, $default = NULL)
{
$return = array();