Kaynağa Gözat

stop interpreting null json as string

develop
Robin Thoni 8 yıl önce
ebeveyn
işleme
a6c4230c0d
1 değiştirilmiş dosya ile 0 ekleme ve 3 silme
  1. 0
    3
      src/Utils/Controller/LuRoute.php

+ 0
- 3
src/Utils/Controller/LuRoute.php Dosyayı Görüntüle

@@ -178,9 +178,6 @@ class LuRoute {
178 178
             try
179 179
             {
180 180
                 $json = json_decode($value, true);
181
-                if (is_null($json)) {
182
-                    $json = $value . "";
183
-                }
184 181
                 $typedValue = call_user_func_array(array($class->getName(), "jsonDeserialize"), array($json));
185 182
             }
186 183
             catch (LuDboDeserializeException $e)

Loading…
İptal
Kaydet