Skip to content

Commit a80943f

Browse files
author
Vitaliy Boyko
committed
ENGCOM-20434: fixed type inconsistency
1 parent 1c608d7 commit a80943f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/CatalogUrlRewrite/Observer/ProcessUrlRewriteOnChangeProductVisibilityObserver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ public function execute(Observer $observer)
4949
return;
5050
}
5151

52-
$this->adaptUrlRewritesToVisibility->execute($productIds, $visibility);
52+
$this->adaptUrlRewritesToVisibility->execute($productIds, (int)$visibility);
5353
}
5454
}

0 commit comments

Comments
 (0)