mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fixed notice in _load_plugins()
This commit is contained in:
@@ -2417,7 +2417,7 @@ class Smarty
|
||||
* checked for existence yet or not.
|
||||
*/
|
||||
if (isset($plugin)) {
|
||||
if (!$plugin[3]) {
|
||||
if (empty($plugin[3])) {
|
||||
if (!$this->_plugin_implementation_exists($plugin[0])) {
|
||||
$this->_trigger_fatal_error("[plugin] $type '$name' is not implemented", $tpl_file, $tpl_line, __FILE__, __LINE__);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user