Skip to content

Commit 5d551cc

Browse files
ENGCOM-3645: fix: immediately return value #19673
- Merge Pull Request #19673 from DanielRuf/magento2:fix/adminnotification-immediately-return - Merged commits: 1. 4b66ef6
2 parents 35c4f04 + 4b66ef6 commit 5d551cc

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/AdminNotification/Model/ResourceModel

1 file changed

+1
-2
lines changed

app/code/Magento/AdminNotification/Model/ResourceModel/Inbox.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ public function getNoticeStatus(\Magento\AdminNotification\Model\Inbox $object)
7777
'is_read=?',
7878
0
7979
);
80-
$return = $connection->fetchPairs($select);
81-
return $return;
80+
return $connection->fetchPairs($select);
8281
}
8382

8483
/**

0 commit comments

Comments
 (0)