From 6e6c554740668b8c00cc31493045cdaf65e8037b Mon Sep 17 00:00:00 2001 From: Igor Khokhlov Date: Mon, 12 Sep 2011 11:23:06 +0300 Subject: [PATCH] fix wrong param name --- engine/modules/viewer/plugs/function.cfg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/modules/viewer/plugs/function.cfg.php b/engine/modules/viewer/plugs/function.cfg.php index 3d769fda..a4547c6f 100644 --- a/engine/modules/viewer/plugs/function.cfg.php +++ b/engine/modules/viewer/plugs/function.cfg.php @@ -29,7 +29,7 @@ function smarty_function_cfg($aParams,&$oSmarty) { return ; } require_once(Config::Get('path.root.engine').'/lib/internal/ConfigSimple/Config.class.php'); - if(!isset($aParams['instacne'])) { + if(!isset($aParams['instance'])) { $aParams['instance'] = Config::DEFAULT_CONFIG_INSTANCE; }