From a890db2c688f5ab068cb1dbfbadb81532ec035f9 Mon Sep 17 00:00:00 2001 From: NF17 Etudiant <nf17p110@tuxa.sme.utc> Date: Thu, 19 Jun 2014 01:48:13 +0200 Subject: [PATCH] fix problem --- view/list.php | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/view/list.php b/view/list.php index e114791..5f05ccc 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> -- GitLab