From 77ebf107de0537e3b8877422c972415b22d5902f Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Tue, 30 Jan 2018 13:39:43 -0500 Subject: [PATCH] overwrite variables in templates so they work more intuitively --- src/View/HtmlView.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/View/HtmlView.php b/src/View/HtmlView.php index d9f7201..0b14acf 100644 --- a/src/View/HtmlView.php +++ b/src/View/HtmlView.php @@ -10,7 +10,7 @@ * @author Timothy J. Warren * @copyright 2015 - 2018 Timothy J. Warren * @license http://www.opensource.org/licenses/mit-license.html MIT License - * @version 2.3.0 + * @version 2.2.0 * @link https://git.timshomepage.net/timw4mail/ion */ @@ -62,7 +62,7 @@ class HtmlView extends HttpView { $data['container'] = $this->container; ob_start(); - extract($data, \EXTR_SKIP); + extract($data, \EXTR_OVERWRITE); include_once $path; $buffer = ob_get_contents(); ob_end_clean();