From 857c6f5f673a0f45fced3e6d1c288c7b881b58bc Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Thu, 11 Nov 2010 17:28:49 -0600 Subject: Fixing a bug created yesterday with overzealous constructor replacements. --- system/libraries/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/libraries/Parser.php') 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 */ -- cgit v1.2.3-24-g4f1b