Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Function statistics_recent_hits() defines 2 arguments that are not used.
This:
function statistics_recent_hits($type = 'all', $id = 0) {
Should look like:
function statistics_recent_hits() {
I have previously reported a couple of issues related to the statistics module:
http://drupal.org/node/47989
http://drupal.org/node/47426
...if patches applied, line numbers for this one wouldn't match.
Comment | File | Size | Author |
---|---|---|---|
#1 | 47999.patch | 479 bytes | chx |
Comments
Comment #1
chx CreditAttribution: chx commentedremove.
Comment #2
chx CreditAttribution: chx commentedComment #3
Dries CreditAttribution: Dries commentedCommitted to HEAD.
Comment #4
(not verified) CreditAttribution: commented