1
Alekska
Bug in XoopsForm code.
  • 2009/11/3 14:27

  • Alekska

  • Just popping in

  • Posts: 2

  • Since: 2009/4/24


Hi!
In the source code of XoopsForm, I found this in /class/xoopsform/themeform.php:

line 26~28 (http://xoops.svn.sourceforge.net/viewvc/xoops/XoopsCore/trunk/htdocs/class/xoopsform/themeform.php?view=markup)
if (! class_exists('XoopsForm')) {
    
xoops_load('form');
}


but.. it wouldn't be just like this????
if (! class_exists('XoopsForm')) {
    
xoops_load('XoopsForm');
}


this fixes some errors that I had with CBB4(RC)

2
Anonymous
Re: Bug in XoopsForm code.
  • 2009/11/3 18:04

  • Anonymous

  • Posts: 0

  • Since:


If this is bug then we need to fix it in xoopsform/simpleform.php and xoopsform/tableform.php too.

3
Yurdal
Re: Bug in XoopsForm code.
  • 2009/11/3 20:17

  • Yurdal

  • Friend of XOOPS

  • Posts: 386

  • Since: 2005/3/27


Hmm i changed them all and see anything changed (no errors i mean)
So is this a bug or what?

4
ghia
Re: Bug in XoopsForm code.
  • 2009/11/3 20:26

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Did you have problems before the change?

5
trabis
Re: Bug in XoopsForm code.
  • 2009/11/3 20:38

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

Alekska wrote:
but.. it wouldn't be just like this????
if (! class_exists('XoopsForm')) {
    
xoops_load('XoopsForm');
}



Yes it should, thanks!

6
trabis
Re: Bug in XoopsForm code.
  • 2009/11/6 19:58

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Fixed on SVN.

Login

Who's Online

146 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 146


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits