[TYPO3-core] bugs 3212 & 1178

Martin Kutschker Martin.Kutschker at blackbox.net
Sat May 20 17:48:57 CEST 2006


rupert germann <rupi at gmx.li> writes on 
Fri, 19 May 2006 21:39:20 +0200 (METDST):

> Hi,
> 
> This are two CVS patch requests.
> 
> Type: small errors
> 
> Description: the links on the versioning module and the "versioning"
> option in 
> clickmenu lead to nothing when they are clicked on the websites root
> folder (globe)


You changed

if (!$backRef->cmLevel) {
...
}

to

if (!$backRef->cmLevel && $uid>0) {
... 
} else {
...
}

But shouldn't that be this?

if ($uid<1) {
... // not in page tree [NEW]
} elseif (!$backRef->cmLevel) {
... // WS info [CURRENT]
} else {
... // ???
}

Though I don't know what should happen in the last case.

Masi 



More information about the TYPO3-team-core mailing list