1
frankblack
Bug in xoopsform/formfile.php
  • 2009/11/25 21:02

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


XOOPS 2.4.1
return '<input type="hidden" name="MAX_FILE_SIZE" value="' $this->getMaxFileSize() . '" /><input type="file" name="' $this->getName() . '" id="' $this->getName() . '"' '" title="' $this->getTitle() . '" ' .$this->getExtra() . ' /><input type="hidden" name="xoops_upload_file[]" id="xoops_upload_file[]" value="' $this->getName() . '" />';
Above code generates an extra quote in the html. Correct:
return '<input type="hidden" name="MAX_FILE_SIZE" value="' $this->getMaxFileSize() . '" /><input type="file" name="' $this->getName() . '" id="' $this->getName() . '" title="' $this->getTitle() . '" ' .$this->getExtra() . ' /><input type="hidden" name="xoops_upload_file[]" id="xoops_upload_file[]" value="' $this->getName() . '" />';
P.S.: Is there a good reason, why the bug tracker on sourceforge needs an account? Sigh, another registration and another password I forget one day for sure.

2
Mamba
Re: Bug in xoopsform/formfile.php
  • 2009/11/25 21:19

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Added to SourceForge, and fixed in SVN.

But you should join Sourceforge anyway

3
frankblack
Re: Bug in xoopsform/formfile.php
  • 2009/11/25 21:53

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Quote:
But you should join Sourceforge anyway


Idiot = me. I thought I lost my account, but this wasn't so.

I lost my former account credentials when I was member of the XOOPS project -> see members. Perhaps it is a good idea to tidy up the member area there?

4
Mamba
Re: Bug in xoopsform/formfile.php
  • 2009/11/26 0:43

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


we probably could.

I gave you access to SourceForge SVN, so you can make changes directly to the code there

Login

Who's Online

249 user(s) are online (168 user(s) are browsing Support Forums)


Members: 0


Guests: 249


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