Commit ebd68e73 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Fix \'

parent 4ac9f1b2
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ use UnicaenAutoform\Entity\Db\Champ;
        <?php for($position = 0 ; $position < $size ; $position ++) : ?>
            <li>
                <?php $sub = explode("|", $libelles[$position]); ?>
                <?php echo $sub[1] ?> :
                <?php echo str_replace(["\'"],["'"],$sub[1]); ?> :
                <?php
                    $resplits = str_replace("_"," ",$splits[$position]);
                    echo $resplits;
+2 −1
Original line number Diff line number Diff line
@@ -29,7 +29,8 @@ $reponses = explode(Champ::SEPARATOR_PLUS_CUSTOM_GROUP, (string) $data);
                <?php $splits = explode(Champ::SEPARATOR_PLUS_CUSTOM_FIELD, $reponse); $position = 0;?>
                <?php foreach ($splits as $split) : ?>
                    <?php if ($split !== '') : ?>
                        <li> <?php echo $libelles[$position]; ?> : <?php echo $split; ?> </li>
                        <?php $tLibelle =  str_replace(["\'"],["'"],$libelles[$position]); ?>
                        <li> <?php echo $tLibelle; ?> : <?php echo $split; ?> </li>
                    <?php endif; ?>
                    <?php $position++; ?>
                <?php endforeach; ?>