Fullscreen
Loading...
 
Skip to main content

ranklib->forums_ranking_last_posts, used in Top topics module, returns incomplete names and results

Status
Closed
Subject
ranklib->forums_ranking_last_posts, used in Top topics module, returns incomplete names and results
Category
  • Regression
Feature
Forum
Modules
Resolution status
Fixed or Solved
Submitted by
Philippe Cloutier
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

~np~Since r20568, ranklib->forums_ranking_last_posts() returns incomplete names in %22data%22. The first part of the name should be the forum's name, but $res'name' is null.
So in Top topics module, instead of
1. Probo: Essai bug
2. Probo & Probi: Probo & topic
3. Probo: tes

I'm getting just
1. : Essai bug
2. : Probo & topic
3. : tes

I'm also getting
ERROR (E_WARNING):
File: lib/core/lib/Perms.php
Line: 187
Type: Missing argument 5 for Perms::filter(), called in /var/www/tiki/trunk/lib/rankings/ranklib.php on line 158 and defined

and, as anonymous, no results (thanks chibaguy).

Solution
Workaround
Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2686
Created
Tuesday 25 August, 2009 04:25:14 UTC
by Unknown
LastModif
Thursday 28 May, 2026 10:03:42 UTC


Show PHP error messages