Fix fulfilled wishes showing
This commit is contained in:
parent
b590e1efc2
commit
1f2057fb4c
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class Wishlist
|
||||||
$WHERE = isset($sql['WHERE']) ? $sql['WHERE'] : '`wishlist` = ' . $this->id;
|
$WHERE = isset($sql['WHERE']) ? $sql['WHERE'] : '`wishlist` = ' . $this->id;
|
||||||
$ORDER_BY = isset($sql['ORDER_BY']) ? $sql['ORDER_BY'] : '`priority` DESC, `url` ASC, `title` ASC';
|
$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
|
$this->wishes = $database
|
||||||
->query(
|
->query(
|
||||||
|
|
Loading…
Reference in a new issue