diff options
author | Greg Aker <greg.aker@ellislab.com> | 2010-11-12 00:28:49 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2010-11-12 00:28:49 +0100 |
commit | 857c6f5f673a0f45fced3e6d1c288c7b881b58bc (patch) | |
tree | 65ffcdf3814df083e5e69cccb4e48357a67981ad /system/libraries/Parser.php | |
parent | ebb6f4bf664747d3649d622b98abc78f2da397f7 (diff) |
Fixing a bug created yesterday with overzealous constructor replacements.
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 5d9203a91..4cac7394a 100644 --- a/system/libraries/Parser.php +++ b/system/libraries/Parser.php @@ -42,7 +42,7 @@ class CI_Parser { * @param bool * @return string */ - public function __construct($template, $data, $return = FALSE) + public function parse($template, $data, $return = FALSE) { $CI =& get_instance(); $template = $CI->load->view($template, $data, TRUE); @@ -209,4 +209,4 @@ class CI_Parser { // END Parser Class /* End of file Parser.php */ -/* Location: ./system/libraries/Parser.php */
\ No newline at end of file +/* Location: ./system/libraries/Parser.php */ |