Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
database system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2006 at 08:27 UTC
Updated:
7 Sep 2006 at 09:00 UTC
The pager_query() function only searches and replaces on 'FROM' and thereby triggers on FROM_UNIXTIME when creating a count_query. The replace expression should include the space after 'FROM'. Attached a patch fixing this.
| Comment | File | Size | Author |
|---|---|---|---|
| pager.fixfrom.patch.txt | 531 bytes | gorgen |
Comments
Comment #1
killes@www.drop.org commentedLooks good to me, needs some testing. Will backport once committed to HEAD.
Comment #2
drummCommitted to HEAD.
Please note that FROM_UNIXTIME() is not recommended since it does not account for Drupal's timezone handling.
Comment #3
(not verified) commented