1
nicoleking
Typo in userinfo.php XOOPS 2.0.10 (I think - it's the latest one, anyway)
  • 2005/5/15 23:52

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


In /userinfo.php there is a typo in line 33. The line currently reads

$xoopUser or redirect_header('index.php', 3, _NOPERM);

It should read

$xoopsUser or redirect_header('index.php', 3, _NOPERM);

Note the change from $xoopUser to $xoopsUser at the start of the line.

Love

Nicole (aka CatsMuvva)

2
nicoleking
Re: Typo in userinfo.php XOOPS 2.0.10 (I think - its the latest one, anyway)
  • 2005/5/15 23:53

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


Yes, it's definitely 2.0.10

3
Dave_L
Re: Typo in userinfo.php XOOPS 2.0.10 (I think - its the latest one, anyway)
  • 2005/5/16 0:13

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


That line is a hack. It's not in the standard XOOPS distribution.

But you're correct that it should be $xoopsUser, not $xoopUser.

4
nicoleking
Re: Typo in userinfo.php XOOPS 2.0.10 (I think - its the latest one, anyway)
  • 2005/5/16 7:26

  • nicoleking

  • Just popping in

  • Posts: 8

  • Since: 2004/12/31


Oh, sorry for that. Where should I have posted it? The typepo produces some interesting effcts, including a "popup" that logged in user is not allowed to visit the area they are currently visiting.

Nicole (aka CatsMuvva)