diff options
author | admin <devnull@localhost> | 2006-09-23 19:39:20 +0200 |
---|---|---|
committer | admin <devnull@localhost> | 2006-09-23 19:39:20 +0200 |
commit | 4e9f3f90ed26a0dc4bcacf106d6421bf725b5ae3 (patch) | |
tree | 52bccfbded6c08606faca9e725af9f42ea3fabad /system/libraries/Parser.php | |
parent | 212a3fa070a02c812b84ca937c5cb411400e6f3d (diff) |
Diffstat (limited to 'system/libraries/Parser.php')
-rw-r--r-- | system/libraries/Parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/libraries/Parser.php b/system/libraries/Parser.php index 17a985fd7..63dc023a2 100644 --- a/system/libraries/Parser.php +++ b/system/libraries/Parser.php @@ -54,11 +54,11 @@ class CI_Parser { foreach ($data as $key => $val) { - if ( ! is_array($val)) + if (is_string($val)) { $template = $this->_parse_single($key, $val, $template); } - else + elseif (is_array($val)) { $template = $this->_parse_pair($key, $val, $template); } |