jDownloads

First of all: Thank you for your time. Thanks for trying to help us making jDownloads a better component. It's very much appreciated!

================================================
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
THIS BUGTRACKER IS CLOSED!!!
================================================

So it is not possible to add new task here.
Please use the support forum when you will do this.

We hope we can go online with a new bugtracker site in the next weeks - we work on it.

Many thanks.
Tasklist

FS#108 - "Array" printed on screen when an empty category is being displayed.

Attached to Project: jDownloads
Opened by Anonymous Submitter - Tuesday, 27 September 2011, 01:35 GMT+2
Last edited by Administrator (admin) - Monday, 10 October 2011, 16:19 GMT+2
Task Type Bug Report
Category Frontend
Status Closed
Assigned To Administrator (admin)
Operating System Joomla 1.6.x
Severity Medium
Priority Normal
Reported Version 1.9.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When you add a category to an article, if the category is empty the plugin prints "Array" on the page instead of nothing.

/plugins/content/jdownloads/jdownloads.php Line 1411

I just changed it from:

return $cat_result;

to:

if (@$cat_result) { # Is the array empty?
return $cat_result; # No, return the category information
} else {
return NULL; # Yes, return nothing.
}
This task depends upon

Closed by  Administrator (admin)
Monday, 10 October 2011, 16:19 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  see note.
Comment by Administrator (admin) - Monday, 10 October 2011, 16:19 GMT+2
Fixed in plugin version 2.0.5 and for Joomla 1.5 in version 1.18.

Loading...