Fix showing unavailable wishes

This commit is contained in:
grandeljay 2022-04-10 13:28:06 +02:00
parent e6da9e239c
commit 8f0f52d62c

View file

@ -66,7 +66,8 @@ $page->navigation();
`status` = ""
OR `status` IS NULL
OR `status` < unix_timestamp(CURRENT_TIMESTAMP - INTERVAL ' . Wish::STATUS_TEMPORARY_MINUTES . ' MINUTE)
)'
)
AND (`status` != "' . Wish::STATUS_UNAVAILABLE . '" OR `status` IS NULL)'
)
);
?>