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 .= ')';