diff options
author | Mario <mario@mariovavti.com> | 2022-02-11 09:27:35 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-02-11 09:27:35 +0000 |
commit | 7d75d0cfbdca9914814dd5c8390a45eaf377b48d (patch) | |
tree | 83213d967c19006c38685a45a9f9459f48e9a43d /vendor/smarty/smarty/libs/sysplugins/smarty_resource.php | |
parent | 5468de2c6ad5187cd51201cda929c3e54cc2938f (diff) | |
download | volse-hubzilla-7d75d0cfbdca9914814dd5c8390a45eaf377b48d.tar.gz volse-hubzilla-7d75d0cfbdca9914814dd5c8390a45eaf377b48d.tar.bz2 volse-hubzilla-7d75d0cfbdca9914814dd5c8390a45eaf377b48d.zip |
composer update smarty to version 4.1
Diffstat (limited to 'vendor/smarty/smarty/libs/sysplugins/smarty_resource.php')
-rw-r--r-- | vendor/smarty/smarty/libs/sysplugins/smarty_resource.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php b/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php index aae7e42f7..7fe84536f 100644 --- a/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php +++ b/vendor/smarty/smarty/libs/sysplugins/smarty_resource.php @@ -72,9 +72,7 @@ abstract class Smarty_Resource } // try registered resource if (isset($smarty->registered_resources[ $type ])) { - return $smarty->_cache[ 'resource_handlers' ][ $type ] = - $smarty->registered_resources[ $type ] instanceof Smarty_Resource ? - $smarty->registered_resources[ $type ] : new Smarty_Internal_Resource_Registered(); + return $smarty->_cache[ 'resource_handlers' ][ $type ] = $smarty->registered_resources[ $type ]; } // try sysplugins dir if (isset(self::$sysplugins[ $type ])) { |