Page 1 of 1

BUG-report 1.1.0

Posted: 26 Mar 2009, 00:31
by bole
I was frustrated to see that I couldn't change the "Enable Flash uploader" and the "Enable User statistics" options in the administration section (the drop-down list only gave a "Yes" as option), so I digged in some code and found a bug.

In file /administrator/components/com_phocadownload/helpers/phocadownload.php on line 306 there is a " to much, which prevents creating of a correct drop-down list.

It was:

Code: Select all

$select .= '<option value="'.$valueOption['id'].'" '.$selected.' ">'.JText::_($valueOption['value']).'</option>' . "\n";

and it should be

Code: Select all

$select .= '<option value="'.$valueOption['id'].'" '.$selected.'>'.JText::_($valueOption['value']).'</option>' . "\n";


Mind the " symbol, just in front of >'.JText::
Now the drop-down lists are made correctly, so the option is available for change again.

Re: BUG-report 1.1.0

Posted: 27 Mar 2009, 16:12
by Jan
Hi, thank you for this information, I have fixed it (in the same version 1.1.0)

Thank you, Jan