Commit 1126a491 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction explode with null deprecated

parent a65fbf6d
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;