[TYPO3-dev] FW: Bug fix sv_login_redirect
Guus Leeuw jr.
Guus.Leeuw at guusleeuwit.com
Thu Jan 11 06:48:33 CET 2007
Hmm Cannot email Lars directly. Hopefully he is on the list ;) (Or else,
maybe somebody else can 'grab' the extension and apply the patch.)
Cheers,
Guus
_____
From: Guus Leeuw jr. [mailto:Guus.Leeuw at guusleeuwit.com]
Sent: 11 January 2007 05:44
To: 'quitsch at sitevertreiber.de'
Subject: Bug fix sv_login_redirect
Hello Lars,
I found a bug in your sv_login_redirect extension, in that the SQL query is
off when the logged in user belongs to more than one group. The query is off
against TYPO3 4.0.4.
$GLOBALS['TSFE']->fe_user->user['usergroup'] will yield in say '2,3,4' when
the user belongs to those groups.
Therefore, we cannot use '=' to match group uids any longer, but have to use
'IN (2,3,4)' in case $GLOBALS['TSFE']->fe_user->user['usergroup'] has any
commas ;)
Patch attached against ChangeLog date 06-09-29. I would be grateful if you
could produce a new version that contains this patch.
Kindest regards,
Guus
--
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.433 / Virus Database: 268.16.8/621 - Release Date: 09/01/2007
13:37
--
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.433 / Virus Database: 268.16.8/621 - Release Date: 09/01/2007
13:37
More information about the TYPO3-dev
mailing list