summaryrefslogtreecommitdiffstats
path: root/system/helpers/html_helper.php
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2013-05-18 16:25:03 +0200
committerRasmus Lerdorf <rasmus@php.net>2013-05-18 16:43:50 +0200
commite736f49f13bd07bf5bace06ca2453f260591489f (patch)
tree63011f10673fa66b960fe181fc6d68c6d8d171fb /system/helpers/html_helper.php
parent86417d040ace56e213acdb2a5338cd409606a272 (diff)
Required arg in between optional ones
Signed-off-by: Rasmus Lerdorf <rasmus@php.net>
Diffstat (limited to 'system/helpers/html_helper.php')
-rw-r--r--system/helpers/html_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index 80a27876f..9990b4653 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -109,7 +109,7 @@ if ( ! function_exists('_list'))
* @param int
* @return string
*/
- function _list($type = 'ul', $list, $attributes = '', $depth = 0)
+ function _list($type = 'ul', $list = array(), $attributes = '', $depth = 0)
{
// If an array wasn't submitted there's nothing to do...
if ( ! is_array($list))
@@ -399,4 +399,4 @@ if ( ! function_exists('nbs'))
}
/* End of file html_helper.php */
-/* Location: ./system/helpers/html_helper.php */ \ No newline at end of file
+/* Location: ./system/helpers/html_helper.php */