From 7327499064ae165468c7440f8571c3e570b58a0b Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Mon, 5 May 2008 16:39:18 +0000 Subject: Added get_dir_file_info(), get_file_info(), and get_mime_by_extension() to the File Helper. Changed ( ! condition) into (! condition) within the code --- system/helpers/html_helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/helpers/html_helper.php') diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php index 3e15b4442..4e86465c1 100644 --- a/system/helpers/html_helper.php +++ b/system/helpers/html_helper.php @@ -105,7 +105,7 @@ if (! function_exists('_list')) function _list($type = 'ul', $list, $attributes = '', $depth = 0) { // If an array wasn't submitted there's nothing to do... - if ( ! is_array($list)) + if (! is_array($list)) { return $list; } @@ -138,7 +138,7 @@ if (! function_exists('_list')) $out .= str_repeat(" ", $depth + 2); $out .= "
  • "; - if ( ! is_array($val)) + if (! is_array($val)) { $out .= $val; } @@ -194,7 +194,7 @@ if (! function_exists('img')) { function img($src = '', $index_page = FALSE) { - if ( ! is_array($src) ) + if (! is_array($src) ) { $src = array('src' => $src); } -- cgit v1.2.3-24-g4f1b