Skip to content

Commit 1beacda

Browse files
Fix magento#23077: Fix condition Safe-NULL condition on Update Trigger
1 parent 7d6b0d7 commit 1beacda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/Mview/View/Subscription.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ protected function buildStatement($event, $changelog)
214214
$columns = [];
215215
foreach ($columnNames as $columnName) {
216216
$columns[] = sprintf(
217-
'NEW.%1$s <=> OLD.%1$s',
217+
'NOT NEW.%1$s <=> OLD.%1$s',
218218
$this->connection->quoteIdentifier($columnName)
219219
);
220220
}

0 commit comments

Comments
 (0)