Fix fulfilled wishes showing

This commit is contained in:
grandeljay 2022-11-25 22:45:56 +01:00
parent b590e1efc2
commit 1f2057fb4c

View file

@ -64,7 +64,7 @@ class Wishlist
$WHERE = isset($sql['WHERE']) ? $sql['WHERE'] : '`wishlist` = ' . $this->id;
$ORDER_BY = isset($sql['ORDER_BY']) ? $sql['ORDER_BY'] : '`priority` DESC, `url` ASC, `title` ASC';
$WHERE .= ' AND (`status` != "' . Wish::STATUS_FULFILLED . '" OR `status` IS NULL)';
$WHERE .= ' AND (`status` IS NULL)';
$this->wishes = $database
->query(