[TYPO3-core] Reminder: RFC 5588: Typolink cannot be created if FE user is logged in with access restrictions

Oliver Hader oh at inpublica.de
Sat May 26 12:14:11 CEST 2007


Hi Masi,

Martin Kutschker schrieb:
> Franz Holzinger schrieb:
>> The first line in your proposal is not needed.
> 
> isset($conf['linkAccessRestrictedPages']) or
> strlen($conf['linkAccessRestrictedPages'])?

I tend to use strlen in this case. Imagine a TypoScript like this:
typolink {
  parameter = 123
  linkAccessRestrictedPages =
}
The new property is set, but has no value like "0" or "1". In this case
strlen returns "0" and is FALSE.


olly
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-team-core mailing list