fix label manager empty array
This commit is contained in:
@@ -293,6 +293,10 @@ class LabelManager implements
|
||||
|
||||
$languageObj->save();
|
||||
|
||||
if ($returnDataHash === []) {
|
||||
return (object) [];
|
||||
}
|
||||
|
||||
return json_decode(Json::encode($returnDataHash));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user