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
Alekska
Bug in NewBB svn
  • 2009/4/24 3:31

  • Alekska

  • Just popping in

  • Posts: 2

  • Since: 2009/4/24


Hi,

I'm testing the new cbb from svn.

When I try to edit any post without rights to edit it, I get the message:

You don't have the right to edit in this forum.


But it redirects to: viewtopic.phptopic_id=21&post_id=65

And it should redirects to: viewtopic.php?topic_id=21&post_id=65

To solve this, I change the line 71 of the edit.php file to:

redirect_header("viewtopic.php?{$page_query}"2$error_msg);


Greets :)




TopTop



Login

Who's Online

163 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

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

Latest GitHub Commits