We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0be7bc3 commit 0241263Copy full SHA for 0241263
Model/AbstractManagement.php
@@ -214,10 +214,8 @@ abstract protected function getDynamicData($item);
214
*/
215
public function getError($massage) {
216
$data = ['error' => 'true'];
217
-
218
- if ($massage) {
219
- $data['message'] = $massage;
220
- }
+
+ $data['message'] = $massage ?? '';
221
222
return json_encode($data);
223
}
0 commit comments