/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
update flyspray_tasks, flyspray_assigned set flyspray_tasks.due_date = UNIX_TIMESTAMP(NOW()) where flyspray_tasks.task_id = flyspray_assigned.task_id and flyspray_assigned.user_id = 2 and due_date < UNIX_TIMESTAMP(NOW()) and is_closed=0