Insert of site to list of sites for cron fails due to error in insert query
Joachim_W - May 11, 2009 - 11:08
| Project: | Admintools |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Joachim_W |
| Status: | closed |
Jump to:
Description
Insert query in cron.module of version 6.x-1.5 of admintools project:
In the function cron_add_form_submit
the query
db_query("INSERT INTO {cron} (url, cron_key, description, checks, last_check) VALUES ('%s', '%s', 1, '%d')",...
should be...
db_query("INSERT INTO {cron} (url, cron_key, description, checks, last_check) VALUES ('%s', '%s', '%s', 1, '%d')",...
So one '%s' is missing.

#1
Fixed in 6.x-1.6
#2
Automatically closed -- issue fixed for 2 weeks with no activity.