Fix deprecated ${var} syntax

This commit is contained in:
Kijin Sung 2022-12-29 00:44:51 +09:00
parent 81daa1fa17
commit 30493947d8
3 changed files with 10 additions and 6 deletions

View file

@ -153,7 +153,7 @@ class TemplateHandler
$error_message = vsprintf('Template not found: %s%s%s', array(
$tpl_path,
preg_replace('/\.html$/i', '', $tpl_filename) . '.html',
$tpl_file ? " (${tpl_file})" : '',
$tpl_file ? " ($tpl_file)" : '',
));
trigger_error($error_message, \E_USER_WARNING);
return escape($error_message);