Hi.
At line 102 of this file there is this code: if ($options[$i]->level == 0) {
if ($jd_config['show.header.catlist.uncategorised'] == 1){
$options[$i]->text = JText::_('COM_JDOWNLOADS_SELECT_UNCATEGORISED');
} else {
$root = array_shift($options);
$i++;
$n--;
}
}
if ($options[$i]->level > 1){
$options[$i]->text = str_repeat('- ',($options[$i]->level -1)).$options[$i]->text;
}
.
i had a error of 'undefinited error' at line 102. With this change, no error: if ($options[$i]->level == 0) {
if ($jd_config['show.header.catlist.uncategorised'] == 1){
$options[$i]->text = JText::_('COM_JDOWNLOADS_SELECT_UNCATEGORISED');
} else {
$root = array_shift($options);
$i++;
$n--;
}
}
if ($i < $n) {
if ($options[$i]->level > 1){
$options[$i]->text = str_repeat('- ',($options[$i]->level -1)).$options[$i]->text;
}
}.
Of course, there can be another better solution at this error than mine.
Hi
Thanks for pointing this out.
What Error Reporting level have you set in Joomla! Global Config - Server Settings? We normally run at System Default. If you use Development level you get very strict dfeinitions that are above thge usual php 'default' behavior.
Colin