Skip to content

Commit 5726e81

Browse files
committed
Merge branch 'main' into 1.2.2-rc
2 parents 8c55d58 + 3c6d6a9 commit 5726e81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Meta/BusinessExtension/Model/ResourceModel/FacebookInstalledFeature.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private function formatArrayData($feature, $key)
104104
if (!is_array($feature[$key])) {
105105
return $feature[$key];
106106
}
107-
if (array_is_list($feature[$key]) && !empty($feature[$key])) { //If the value is a list save the first item
107+
if (isset($feature[$key][0])) {
108108
return json_encode($feature[$key][0]);
109109
}
110110
return json_encode($feature[$key]);

0 commit comments

Comments
 (0)