Loading...
 
Skip to main content

Typo in latest commit for trackerlib.php

Status
Closed
Subject
Typo in latest commit for trackerlib.php
Version
12.x
Category
  • Error
Feature
Trackers
Resolution status
New
Submitted by
taylordustin
Lastmod by
Louis-Philippe Huberdeau
Rating
(0)
Description

There was a typo introduced in a commit made on Aug. 15, 2014 to the file ~/lib/trackers/trackerlib.php
I noticed that the latest commit had broken our Tracker plugin on a couple of our pages, and after doing some digging, found that a typo in a variable had been introduced.

In the code:

if (! $skip_permission_check) {
$itemObject = Tracker_item::fromInfo($res);
if (! $itemObject->canView()) {
$cant--;
continue;
}
}

On line 1291, the variable 'Tracker_item' should in fact be 'Tracker_Item' , with a capital I in Item.

Importance
5
Easy to solve?
10 easy
Priority
50
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
5436
Created
Tuesday 19 August, 2014 16:11:07 UTC
by taylordustin
LastModif
Wednesday 20 August, 2014 16:16:24 UTC


Show PHP error messages