fix: remembered lists view

This commit is contained in:
grandeljay 2023-08-31 15:07:45 +02:00
parent 9c093c42b3
commit a114a2554e

View file

@ -104,7 +104,7 @@ class Wishlist
$this->user = $wishlist_data['user']; $this->user = $wishlist_data['user'];
$this->name = $wishlist_data['name']; $this->name = $wishlist_data['name'];
$this->hash = $wishlist_data['hash']; $this->hash = $wishlist_data['hash'];
$this->notification_sent = $wishlist_data['notification_sent'] ?? 0; $this->notification_sent = $wishlist_data['notification_sent'] ? \strtotime($wishlist_data['notification_sent']) : 0;
} }
public function getWishes(array $options = array('placeholders' => array())): array public function getWishes(array $options = array('placeholders' => array())): array