Skip to content

Commit

Permalink
Update TemplateRunner.php
Browse files Browse the repository at this point in the history
  • Loading branch information
isocroft authored Mar 22, 2017
1 parent b509c65 commit a5c24c4
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions system/base/providers/Tools/TemplateRunner.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,11 @@ private function draw($__file, $__name, array $vars){

throw new \Exception("Error in View File >> [" . $__name . "] => " . $e->getMesage());

}

/* @TODO: Change ob_get_contents() to ob_get_clean() to enable the removal
of the conditional around the {echo} statement in {Response::view()}
*/
}

$___drawn = ob_get_contents();

ob_end_clean();

return $___drawn;

Expand All @@ -187,4 +185,4 @@ private function draw($__file, $__name, array $vars){



?>
?>

0 comments on commit a5c24c4

Please sign in to comment.