overwrite variables in templates so they work more intuitively

This commit is contained in:
Timothy Warren 2018-01-30 13:39:43 -05:00
parent 128eeea639
commit 77ebf107de
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
* @author Timothy J. Warren <tim@timshomepage.net>
* @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();