BUG-report 1.1.0
Posted: 26 Mar 2009, 00:31
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:
and it should be
Mind the " symbol, just in front of >'.JText::
Now the drop-down lists are made correctly, so the option is available for change again.
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.