Skip to content

Commit c1ba453

Browse files
committed
MAGETWO-99418: Deliver critical PR for 2.3.2
1 parent 6ed30cb commit c1ba453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/MessageQueue/Model/ResourceModel/PoisonPill.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function put(): string
3838
$table = $this->getMainTable();
3939
$uuid = uniqid('version-');
4040
$version = $this->getVersionFromDb();
41-
if ($version !== null) {
41+
if ($version !== '') {
4242
$connection->update($table, ['version' => $uuid]);
4343
} else {
4444
$connection->insert($table, ['version' => $uuid]);

0 commit comments

Comments
 (0)