Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#752 ConfigGenerator.class.php generate faulty config.inc.php

closed-duplicate
None
1
2012-08-13
2012-06-24
Francois Scala
No

Example of problem : the last comma is missing

$cfg['PDFPageSizes'] = array(
'A3',
'A4',
'A5',
'letter'
'legal');

To fix the problem

phpMyAdmin-3.5.1-all-languages/setup/lib/ConfigGenerator.class.php line 144

< $ret .= ($i < $imax ? ($i > 0 ? ',' : '') : '') . $crlf . ' ' . $retv[$i];
---
> $ret .= ($i > 0 ? ',' : '') . $crlf . ' ' . $retv[$i];

Discussion

  • Michal Čihař
    Michal Čihař
    2012-08-13

    • assigned_to: nobody --> nijel
     
  • Michal Čihař
    Michal Čihař
    2012-08-13

    • priority: 5 --> 1
    • status: open --> closed
     
  • Michal Čihař
    Michal Čihař
    2012-08-13

    • status: closed --> closed-duplicate
     
  • Michal Čihař
    Michal Čihař
    2012-08-13

    Already fixed in bug #3541966