The module tutorial has an error if readers are using drupal 5.0 rc1.

This line should be changed from

$queryResult = db_query_range($query, 0, $limitnum, $start_time, $end_time);

to

$queryResult = db_query_range($query, $start_time, $end_time, 0, $limitnum);

Comments

karldied’s picture

Assigned: Unassigned » karldied
Priority: Critical » Normal
Status: Active » Fixed

Listing of the actual node number would have been helpful.
/node/82967/ updated. Thanks! -karldied

karldied’s picture

Assigned: karldied » Unassigned
Status: Fixed » Active

Re-opened:
Please remove comments 2-4 on /node/82967
They are incorporated.

webchick’s picture

Status: Active » Fixed

Done, thanks!

Anonymous’s picture

Status: Fixed » Closed (fixed)