Closed (fixed)
Project:
Ubercart Followup
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2010 at 19:55 UTC
Updated:
16 Mar 2012 at 22:35 UTC
Dear friends,
Thanks for this module.
I am reading source code and I can see a problem:
'$where = '(fus.date IS NULL AND (coalesce(oac.created, ru.created) + %d * 3600 < UNIX_TIMESTAMP())) AND (ru.remaining_intervals <> 0) ';
unix_timestamp() is MySQLism, it does not exist in SQL99 databases.
Instead, use PHP time() function.
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_follow_up.patch | 3.17 KB | grub3 |
Comments
Comment #1
grub3 commentedComment #2
m.stentaThanks, this is fixed in the uc_recurring branch now. Note that the uc_recurring branch used to be called the 6.x-1.x branch, but that was incorrect because all the releases made thusfar have been tagged on the master branch. I created a new issue for merging them: #1486508: Merge uc_recurring branch into 6.x-1.x
Comment #3
m.stenta