this probably counts for 4.4.1 too.
if comment module is not available the function should not be called.
Fatal error: Call to undefined function: comment_num_all() in /home/ber4/Documents/Projecten/DMP_dalsemmushrooms/www/modules/tracker.module on line 55
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | num_comments.patch | 1.15 KB | morbus iff |
| tracker_comment.patch | 1.04 KB | Bèr Kessels |
Comments
Comment #1
dries commentedCommitted to HEAD. This does not need fixing in Drupal 4.4.x.
Comment #2
morbus iffThis patch is broken - for installations where the comment.module is turned on, $comments is never set to 0, and posts that have no comments instead get the value of the last successful comment_num_all. The attached patch corrects this ($comments is set to 0 before we do anything) and also merges the if statements
Comment #3
dries commentedCommitted to HEAD.
Comment #4
morbus iff