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
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

DenRaf - May 13, 2009 - 17:09
Status:active» fixed

Fixed in 6.x-1.6

#2

System Message - May 27, 2009 - 17:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.