[TYPO3-core] RFC Bug #11311: PHP casting causes workspace message to appear in Web->View
Susanne Moog
typo3 at susannemoog.de
Sun Jun 14 11:06:26 CEST 2009
Hi,
Niels Fröhling schrieb:
> 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.
+1 by reading.
Regards,
Susanne
--
Susanne Moog
NEUSTA GmbH - www.neusta.de
More information about the TYPO3-team-core
mailing list