[TYPO3-dev] Code beauteousness
Steffen Kamper
info at sk-typo3.de
Wed Dec 2 20:33:14 CET 2009
Hi,
Peter Russ schrieb:
> Just wondering what the author of this poem is trying to say us:
>
> $content = array('user' => array(), 'html' => array(), 'admin' =>
> array(), 'mail' => array());
> $content['mail'] = '';
> $content['user']['all'] = '';
> $content['html']['all'] = '';
> $content['admin']['all'] = '';
>
code is wrong, this is missing after all:
unset($content, $content['mail'], $content['user']['all'],
$content['html']['all'], $content['admin']['all']);
otherwise something could be left ...
vg Steffen
More information about the TYPO3-dev
mailing list