From 104fd6571571721fcfa8e67752277bb155dbce62 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 7 Oct 2011 10:36:39 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.users.tree.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/inc/ws/Controlleur/class.ws.users.tree.php b/inc/ws/Controlleur/class.ws.users.tree.php index 5754e9b32..ca377e954 100644 --- a/inc/ws/Controlleur/class.ws.users.tree.php +++ b/inc/ws/Controlleur/class.ws.users.tree.php @@ -64,17 +64,17 @@ class wsUsersTree { $c->facturable_id = $facturable_id; $ce->facturable_entreprise_id = $c->facturable_entreprise_id = $this->entreprises[$facturable_id]; $ce->administrateur_id = $c->administrateur_id = $administrateur_id; - try{ - $c->insert(); - }catch(Exception $e){ + try { + $c->insert(); + } catch (Exception $e) { fb($e); } if (isset($evu[$c->entreprise_id])) { continue; } - try{ - $ce->insert(); - }catch(Exception $e){ + try { + $ce->insert(); + } catch (Exception $e) { fb($e); } $evu[$c->entreprise_id] = true; -- 2.39.5