Commit 3dd876e1 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Affichage correct des tableaux transmis en POST

parent c5d93d53
Loading
Loading
Loading
Loading
+3
Changes for src/UnicaenApp/Mouchard/MouchardFormaterHtml.php: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -79,6 +79,9 @@ class MouchardFormaterHtml implements MouchardFormaterInterface
            $out .= '<h2>Paramètres passés en POST</h2>';
            $out .= '<table border="1"><tr><th>Paramètre</th><th>Valeur</th></tr>';
            foreach( $post as $p => $v ){
                if (is_array($v)){
                    $v = var_export($v,true);
                }
                $out .= "<tr><th>$p</th><td>$v</td></tr>";
            }
            $out .= '</table>';