commit | 4e9f3f90ed26a0dc4bcacf106d6421bf725b5ae3 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sat Sep 23 17:39:20 2006 +0000 |
committer | admin <devnull@localhost> | Sat Sep 23 17:39:20 2006 +0000 |
tree | 52bccfbded6c08606faca9e725af9f42ea3fabad | |
parent | 212a3fa070a02c812b84ca937c5cb411400e6f3d [diff] |
diff --git a/system/libraries/Parser.php b/system/libraries/Parser.php index 17a985f..63dc023 100644 --- a/system/libraries/Parser.php +++ b/system/libraries/Parser.php
@@ -54,11 +54,11 @@ 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); }