Was just trying to add timeslots through ult/fields/timeslots/create. I get the following warnings and it states that the 2 timeslots could not be created due to overlap. However, the 2 timeslots are created but the field isn't assigned and it's not visible when you go to "view timeslots".

I've included a screenshot which you can see at http://kelownaultimate.com/kups-fields-error.png

------
user warning: 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 'sql' at line 1 query: sql in /Users/jeffsill/Documents/www/Drupal6/sites/all/modules/ult_main/modules/ult_timeslots/includes/ult_timeslots_createtimeslots.inc on line 239.
user warning: 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 'sql' at line 1 query: sql in /Users/jeffsill/Documents/www/Drupal6/sites/all/modules/ult_main/modules/ult_timeslots/includes/ult_timeslots_createtimeslots.inc on line 239.

2 timeslots could not be created, due to conflicts/overlap with already existing timeslots.
View conflicting timeslots
Start End Field
2011-07-07 18:00 2011-07-07 20:00 (Fld )
2011-07-07 18:00 2011-07-07 20:00 (Fld )

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jthorson’s picture

How the heck did I miss that?

To fix, change "sql" to $sql on the referenced line ... I'll put together a patch and new release this weekend.

jthorson’s picture

Status: Active » Needs review
FileSize
822 bytes

Patch attached. Fix committed to 6.x-1.x-dev.

jthorson’s picture

Status: Needs review » Fixed

Haven't heard any followup, so going to assume this worked. If not, please let me know.

Status: Fixed » Closed (fixed)

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