@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | return; |
29 | 29 | self::$persisted = true; |
30 | 30 | |
31 | - $json = json_decode($this->request->getContent(), true); |
|
31 | + $json = json_decode($this->request->getContent(), true); |
|
32 | 32 | $extra_data = isset($json['extra-data']) ? $json['extra-data'] : null; |
33 | 33 | |
34 | 34 | if (!$extra_data) |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | { |
46 | 46 | if (!$entity_id || !$entity_name) |
47 | 47 | return; |
48 | - $json = json_decode($this->request->getContent(), true); |
|
48 | + $json = json_decode($this->request->getContent(), true); |
|
49 | 49 | $extra_data = isset($json['extra-data']) ? $json['extra-data'] : null; |
50 | 50 | |
51 | 51 | if (!$extra_data) |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | if (self::$persisted == true) |
81 | 81 | return; |
82 | 82 | self::$persisted = true; |
83 | - $json = json_decode($this->request->getContent(), true); |
|
83 | + $json = json_decode($this->request->getContent(), true); |
|
84 | 84 | $extra_data = isset($json['extra-data']) ? $json['extra-data'] : null; |
85 | 85 | if (!$extra_data) |
86 | 86 | return; |