From 66100f67d7c8c0d0dcddcb4779f4feb2f4d79e3e Mon Sep 17 00:00:00 2001 From: Alain ICHE Date: Sun, 29 Jul 2012 08:05:04 +0530 Subject: [PATCH] bug #3541966 [config] Error in generated configuration array --- ChangeLog | 1 + setup/lib/ConfigGenerator.class.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 49425144f7..237060b1a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ phpMyAdmin - ChangeLog - bug #3549084 [edit] Can't enter date directly when editing inline - bug #3548491 [interface] Inline query editor doesn't work from search results - bug #3547825 [edit] BLOB download no longer works +- bug #3541966 [config] Error in generated configuration arrray 3.5.2.0 (2012-07-07) - bug #3521416 [interface] JS error when editing index diff --git a/setup/lib/ConfigGenerator.class.php b/setup/lib/ConfigGenerator.class.php index b4b49fe219..8a11d2bf3d 100644 --- a/setup/lib/ConfigGenerator.class.php +++ b/setup/lib/ConfigGenerator.class.php @@ -141,7 +141,7 @@ class ConfigGenerator // more than 4 values - value per line $imax = count($retv)-1; for ($i = 0; $i <= $imax; $i++) { - $ret .= ($i < $imax ? ($i > 0 ? ',' : '') : '') . $crlf . ' ' . $retv[$i]; + $ret .= ($i > 0 ? ',' : '') . $crlf . ' ' . $retv[$i]; } } $ret .= ')';