From e76b4f8721528b3530e92e025845a6557bb94b06 Mon Sep 17 00:00:00 2001 From: Crack Date: Sat, 31 Jul 2010 21:54:38 +0200 Subject: [PATCH] fix array definition code --- setup/lib/ConfigGenerator.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/lib/ConfigGenerator.class.php b/setup/lib/ConfigGenerator.class.php index f062a35c1..bae95a59f 100644 --- a/setup/lib/ConfigGenerator.class.php +++ b/setup/lib/ConfigGenerator.class.php @@ -92,7 +92,7 @@ class ConfigGenerator $ret = ''; if (self::_isZeroBasedArray($var_value)) { $ret = "\$cfg['$var_name'] = " . self::_exportZeroBasedArray($var_value, $crlf) - . ');' . $crlf; + . ';' . $crlf; } else { // string keys: $cfg[key][subkey] = value foreach ($var_value as $k => $v) {