From 5bc577b398d9a1fdf95140e5017bdb233cc731b7 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 29 Sep 2017 17:25:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/View.php b/library/think/View.php index 4c6f5bdb..a521e421 100644 --- a/library/think/View.php +++ b/library/think/View.php @@ -159,7 +159,7 @@ class View $method = $renderContent ? 'display' : 'fetch'; $this->engine->$method($template, $vars, $config); } catch (\Exception $e) { - ob_clean(); + ob_end_clean(); throw $e; }