Recent Changes - Search:

PITS main list

edit sidebar

Main sidebar

PmWiki

pmwiki.org

00143

Summary: Missing parent in MakeTrailPath (^| trail page |^ markup)
Created: 2004-11-07 01:34
Status: Closed - fixed for 2.0.devel26
Category: Bug
From: jr
Assigned:
Priority: 3
Version: 2 dev 22
OS: Mac OS X v10.3 php 4.3.2

Description: The first item in a trail is omitted from the parentage of the current stop. I was able to fix this with the following change to the MakeTrailPath function

From:
      while ($i>'' && $t[$i]['depth']>0) {

To:

      while (@$t[$i]['depth']>0) {

It seems to be only the first stop on the trail that gets lost.


Applied, thanks. --Pm

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 11:56 AM