From: Stéphane Jacob Date: Sun, 14 Dec 2008 17:25:42 +0000 (+0100) Subject: Allows users to add more than one entreprise at the same time. X-Git-Tag: xorg/1.0.0~332^2~344^2~71 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=067b6a288c35b1b6bf2d665e1f9efb83e0d26414;p=platal.git Allows users to add more than one entreprise at the same time. --- diff --git a/include/validations/entreprises.inc.php b/include/validations/entreprises.inc.php index a16bc7d..da676a8 100644 --- a/include/validations/entreprises.inc.php +++ b/include/validations/entreprises.inc.php @@ -45,7 +45,7 @@ class EntrReq extends Validate public function __construct(User &$_user, $_id, $_name, $_acronym, $_url, $_email, $_tel, $_fax, $_stamp = 0) { - parent::__construct($_user, true, 'entreprise', $_stamp); + parent::__construct($_user, false, 'entreprise', $_stamp); $this->id = $_id; $this->name = $_name; $this->acronym = $_acronym;