Fix not being able to resend notification
This commit is contained in:
parent
72ceb25268
commit
44be915d35
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
||||||
'SELECT *
|
'SELECT *
|
||||||
FROM `wishlists`
|
FROM `wishlists`
|
||||||
WHERE `id` = ' . $wishlistID . '
|
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();
|
$wishlist = $wishlistQuery->fetch();
|
||||||
|
|
Loading…
Reference in a new issue