diff --git a/app/code/core/Mage/Wishlist/Block/Abstract.php b/app/code/core/Mage/Wishlist/Block/Abstract.php index 38d2dd8d266..2eb34d78fb9 100644 --- a/app/code/core/Mage/Wishlist/Block/Abstract.php +++ b/app/code/core/Mage/Wishlist/Block/Abstract.php @@ -232,7 +232,7 @@ public function getEscapedDescription($item) */ public function hasDescription($item) { - return trim($item->getDescription()) != ''; + return trim($item->getDescription() ?? '') != ''; } /**