Skip to content

Commit 1477a88

Browse files
author
Andrew Coates
committed
Restore comment
1 parent 8de1a7d commit 1477a88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Message/AbstractRequest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ protected function getItemData()
154154
$result = '';
155155
$items = $this->getItems();
156156

157+
// If there are no items, then do not construct any of the basket.
157158
if (empty($items) || $items->all() === array()) {
158159
return $result;
159160
}

0 commit comments

Comments
 (0)