Loading src/UnicaenParametre/Entity/Db/Parametre.php +2 −1 Original line number Diff line number Diff line Loading @@ -106,7 +106,8 @@ class Parametre { $on = []; $off = []; $listing = explode(";", $this->getValeur()); $listing = []; if ($this->getValeur() !== null) $listing = explode(";", $this->getValeur()); foreach ($listing as $item) { if (isset($item[0])) { if ($item[0] === '!') $off[] = substr($item, 1); else $on[] = $item; Loading Loading
src/UnicaenParametre/Entity/Db/Parametre.php +2 −1 Original line number Diff line number Diff line Loading @@ -106,7 +106,8 @@ class Parametre { $on = []; $off = []; $listing = explode(";", $this->getValeur()); $listing = []; if ($this->getValeur() !== null) $listing = explode(";", $this->getValeur()); foreach ($listing as $item) { if (isset($item[0])) { if ($item[0] === '!') $off[] = substr($item, 1); else $on[] = $item; Loading