1
Oki
Bug on XoopsThemeForm->insertBreak
  • 2003/10/24 13:51

  • Oki

  • Just popping in

  • Posts: 25

  • Since: 2002/12/4


Hi,

I have troubles using XoopsThemeForm->insertBreak and the solution i have encountred is:
function insertBreak($extra ''$class'')
    {
        
$class = ($class != '') ? " class='$class'" '';
         if ( empty(
$extra) ) {
            
$extra "$class>";
            
$this->addElement($extra);
        } else {
            
$extra "$class>$extra";
            
$this->addElement($extra);
        }
    }


replacing
if ( $extra != '' ) {

to
if ( empty($extra) ) {


Celso Goya
moinho.net

2
onokazu
Re: Bug on XoopsThemeForm->insertBreak
  • 2003/10/24 14:20

  • onokazu

  • XOOPS Founder

  • Posts: 617

  • Since: 2001/12/13


Thanks, this has been fixed on CVS.

Login

Who's Online

293 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 293


more...

Donat-O-Meter

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

Latest GitHub Commits