[TYPO3-core] fe_adminLib.inc formURL as typoLink
Martin Kutschker
Martin.Kutschker at blackbox.net
Thu Jul 7 21:36:19 CEST 2005
Bernhard Kraft <kraftb at kraftb.at> writes on
Thu, 07 Jul 2005 20:55:53 +0200 (METDST):
>
I suggest changing this line as it might leave $linkConf with an empty value.
$linkConf = $this->conf['formurl']?$this->conf['formurl.']:array();
My version:
$linkConf = ($this->conf['formurl'] && is_array($this->conf['formurl.'])) ? $this->conf['formurl.'] : array();
Or even simpler as we don't need formurl as a boolean:
$linkConf = is_array($this->conf['formurl.']) ? $this->conf['formurl.'] : array();
Masi
More information about the TYPO3-team-core
mailing list