Skip to content

Commit 960ac51

Browse files
committed
Fix if statement forui-select
1 parent 5c463dc commit 960ac51

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/MediaGalleryUi/Controller/Adminhtml/Asset

1 file changed

+1
-1
lines changed

app/code/Magento/MediaGalleryUi/Controller/Adminhtml/Asset/Search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function execute()
137137
if (!empty($assets)) {
138138
foreach ($assets as $asset) {
139139
$responseContent['options'][] = [
140-
'value' => $asset->getId(),
140+
'value' => (string) $asset->getId(),
141141
'label' => $asset->getTitle(),
142142
'path' => $this->storage->getThumbnailUrl($this->images->getStorageRoot() . $asset->getPath())
143143
];

0 commit comments

Comments
 (0)