diff --git a/view/list.php b/view/list.php index e1147919e6d35d83ae44707b53a1607eaec4a49b..5f05ccc0665e64fc21a64f3043cb6b2902c68459 100644 --- a/view/list.php +++ b/view/list.php @@ -5,13 +5,11 @@ </div> <?php $ok = true; - try {Â - $test="toto"; - //$test = $list->getLabels(); - } catch (Exception $e) {Â - echo $e->getMessage(); + try { + $test=$list->getLabels(); + } catch (Exception $e) { print($e->getMessage()); $ok = false; - }*/ ?> + } ?> <?php if($ok) { ?> <table class="table"> <thead> @@ -32,4 +30,4 @@ </tbody> </table> <?php } ?> -</div> \ No newline at end of file +</div>