-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
SQL Error when "delay_expired" is not setup.
*** MySQL query error:
SQL: SELECT *
FROM `glpi_plugin_badges_badges`
WHERE `date_expiration` IS NOT NULL
AND `is_deleted` = '0'
AND DATEDIFF(CURDATE(),`date_expiration`) >
AND DATEDIFF(CURDATE(),`date_expiration`) > 0 AND `states_id` NOT IN (999999)
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND DATEDIFF(CURDATE(),`date_expiration`) > 0 AND `states_id` NOT IN (999999)' at line 6
Backtrace :
src/DBmysqlIterator.php:112
src/DBmysql.php:1056 DBmysqlIterator->execute()
marketplace/badges/inc/badge.class.php:618 DBmysql->request()
src/CronTask.php:1020 PluginBadgesBadge::cronBadgesAlert()
front/cron.php:83 CronTask::launch()
``
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels