Commit 37c3e71c authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Gestion d'un message Deprectaded pour les personnes n'ayant pas de paramètres personnalisés

parent 274ed2d2
Loading
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -275,7 +275,12 @@ class Person implements ResourceInterface

    public function getCustomSettingsObj()
    {
        $customSetting = $this->getCustomSettings();
        if ($customSetting !== null) {
            return json_decode($this->getCustomSettings(), JSON_OBJECT_AS_ARRAY);
        } else {
            return [];
        }
    }

    public function getCustomSettingsKey($key)