@@ -36,12 +36,10 @@ discard block |
||
| 36 | 36 | if ($this->getTestInt($value) === true) { |
| 37 | 37 | $this->acces_administration = $value; |
| 38 | 38 | return true; |
| 39 | - } |
|
| 40 | - else if ($this->getTestInt($value) === false) { |
|
| 39 | + } else if ($this->getTestInt($value) === false) { |
|
| 41 | 40 | $this->erreur .= "<li>Le champs accès administration n'est pas au bon format</li>"; |
| 42 | 41 | return false; |
| 43 | - } |
|
| 44 | - else { |
|
| 42 | + } else { |
|
| 45 | 43 | return true; |
| 46 | 44 | } |
| 47 | 45 | |
@@ -59,12 +57,10 @@ discard block |
||
| 59 | 57 | if ($this->getTestInt($value) === true) { |
| 60 | 58 | $this->id_liste_droit_acces = $value; |
| 61 | 59 | return true; |
| 62 | - } |
|
| 63 | - else if ($this->getTestInt($value) === false) { |
|
| 60 | + } else if ($this->getTestInt($value) === false) { |
|
| 64 | 61 | $this->erreur .= "<li>Le champs accès administration n'est pas au bon format</li>"; |
| 65 | 62 | return false; |
| 66 | - } |
|
| 67 | - else { |
|
| 63 | + } else { |
|
| 68 | 64 | return true; |
| 69 | 65 | } |
| 70 | 66 | |