Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2016-06-20 12:22:04 +02:00
commit fb177bfbd6

View File

@ -142,11 +142,11 @@ class Template
$template = static::BASE_PATH . $this->name . '.phtml';
try {
$this->set($data);
extract($this->data);
$this->helperFunctions = array_merge(
$this->helperFunctions,
$helperFunctions
);
extract($this->data);
ob_start();
if (file_exists($template)) {
include $template;