[TYPO3-core] RFC Bug #11311: PHP casting causes workspace message to appear in Web->View

Niels Fröhling niels.froehling at adsignum.com
Wed Jun 10 03:39:20 CEST 2009


This is an SVN patch request.

Type:
Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11311

Branches:
trunk

Problem:
Workspace-indicator appears in Web->View, despite having no workspaces or seeing 
the default workspace.

Reason:
Actually unknown, I have the impression it's casting related, or a real php 
5.2.9 bug.

Solution:
Change all related comparisons to type-safe ===, should be a naive no-brainer 
without side-effects, all assignments are integer. Also someone already did that 
in "fetch_the_id()", maybe for the same reason.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 11311.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090609/fb4340b3/attachment-0001.txt 


More information about the TYPO3-team-core mailing list