litzinger/Disposition — pull request #2 by GDmac (2012-01-06 17:08:17+00:00)
Title: Time creep, and security fix

Two small fixes and a security fix.

1. When you dropped an entry to the bottom, the last id was somehow the old bottom item, causing all entries to creep minute by minute ahead. Now just grabbing oldest entry from DB as starting point.

2. while testing with chrome devtools a doubleclick opened the act=xx in a new window, which revealed a PHP error. The explode on an empty input->post() caused count($ids) to be 1, check if it is empty instead.

3. Since this is a front end called module i thought to add in some security.