Fix not being able to resend notification

This commit is contained in:
grandeljay 2022-06-27 08:11:29 +02:00
parent 72ceb25268
commit 44be915d35

View file

@ -51,7 +51,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
'SELECT *
FROM `wishlists`
WHERE `id` = ' . $wishlistID . '
AND (`notification_sent` < UNIX_TIMESTAMP(CURRENT_TIMESTAMP - INTERVAL 1 DAY) OR `notification_sent` IS NULL);'
AND (`notification_sent` < (CURRENT_TIMESTAMP - INTERVAL 1 DAY) OR `notification_sent` IS NULL);'
);
$wishlist = $wishlistQuery->fetch();