[TYPO3-core] RFC #13739: "Show" clickmenu in page tree does not work for mount pages

Francois Suter fsu-lists at cobweb.ch
Tue Mar 16 23:04:40 CET 2010


Hi,

> I agree with Peter, Zend complains all the time about assignments in
> conditions, but it's a standard in TYPO3 with DB fetching while($row = ...)

According to our CGLs they should be wrapped in a extra set of brackets. 
I don't know for Zend Studio, but for Netbeans it does remove the 
warnings. So it should be:

if (($mountPointInfo = $sys_page->getMountPointInfo($id))) {

although I don't quite like this style either.

Cheers

-- 

Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch


More information about the TYPO3-team-core mailing list