fix: accessing private property

This commit is contained in:
grandeljay 2023-08-31 15:04:51 +02:00
parent f449570627
commit 9c093c42b3

View file

@ -38,7 +38,7 @@ foreach ($wishlists as $wishlist_saved) {
<?php foreach ($wishlists_saved as $wishlist_saved) { ?>
<?php
$wishlist = Wishlist::getFromId($wishlist_saved['wishlist']);
$wishlist_href = Page::PAGE_WISHLIST . '&hash=' . $wishlist->hash;
$wishlist_href = Page::PAGE_WISHLIST . '&hash=' . $wishlist->getHash();
?>
<div class="column">