mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
made $function[2] and $function[3] options for register_resource
This commit is contained in:
@@ -798,7 +798,7 @@ class Smarty
|
||||
*/
|
||||
function register_resource($type, $functions)
|
||||
{
|
||||
if (sizeof($functions)==4) {
|
||||
if (sizeof($functions)<5) {
|
||||
$this->_plugins['resource'][$type] =
|
||||
array($functions, false);
|
||||
|
||||
|
Reference in New Issue
Block a user