Fullscreen
Loading...
 
Skip to main content

ranklib->forums_ranking_most_read_topics() ignores second argument (forumId). forums_most_read_topic

Status
Closed
Subject
ranklib->forums_ranking_most_read_topics() ignores second argument (forumId). forums_most_read_topic
Version
4.x
Category
  • Regression
Feature
Forum
Modules
Resolution status
Fixed or Solved
Submitted by
Philippe Cloutier
Volunteered to solve
Louis-Philippe Huberdeau
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

forums_most_read_topics is declared as
function forums_ranking_most_read_topics($limit, $forumId='')

This was changed to
function forums_ranking_most_read_topics($limit)
in r20575. The second argument is now ignored.

This obviously breaks callers using the second argument, such as mod-forums_most_read_topics when using the forumId parameter.

Once this is fixed, mod-func-forums_most_read_topics.php should be fixed.

Solution
Workaround
Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2695
Created
Wednesday 26 August, 2009 06:21:49 UTC
by Unknown
LastModif
Thursday 28 May, 2026 13:18:21 UTC


Show PHP error messages