|
@@ -2,6 +2,9 @@
|
|
|
if(!isset($contentData['items'])){
|
|
|
$contentData['items'] = [];
|
|
|
}
|
|
|
+if(!is_array($contentData['items'])){
|
|
|
+ $contentData['items'] = [];
|
|
|
+}
|
|
|
if(!$contentData || !isset($contentData['items']) || !count($contentData['items'])) {
|
|
|
$contentData = [
|
|
|
"items" => [
|