[TYPO3-project-formidable] Not a bug, a code cleaning

Jérémy Lecour jeremy.lecour at gmail.com
Tue Jun 20 10:25:19 CEST 2006


Hi

I know, I'm breaking balls ;-) I've found something that may be
useless, unless I miss something. It cuold be corrected for the next
release.

In "ameos_formidable/api/base/ameos_formidable_act_mail/api/class.tx_formidableactmail.php"
from line 101 to 106 :
-------
$subject	= $this->oForm->_getLLLabel($this->oForm->_navConf("/subject/",
$aConf));

if($this->oForm->_navConf("/subject/userobj/", $aConf) !== false)
{ $subject = $this->oForm->_callUserObj($this->oForm->_navConf("/subject/",
$aConf));}
else
{ $subject = $this->oForm->_getLLLabel($this->oForm->_navConf("/subject/",
$aConf));}
-------

I think that the first line is useless because $subject is re-defined
in the if-else statement after.

PS : isn't it possible to use the TYPO3 bug-tracker to submit this
kind of tiny (or bigger) stuff ?
-- 
Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
webdesigner, webmaster et développeur web
Trésorier du PLUG : Provence Linux User Group
http://www.plugfr.org/



More information about the TYPO3-project-formidable mailing list