News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Suggested patch for jdcategoryparent.php in admin - [Fixed in 3.2.47]

Started by dr236, 18.10.2016 17:37:14

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dr236

I think there might be a small bug in
administrator/components/com_jdownloads/models/fields/jdcategoryparent.php.

Namely, the (3) calls to
$user->authorise('X', 'jdownloads.category.'.$option->value)
(where X=core.create, core.edit, or core.edit.own) should be changed to $user->authorise('X', 'com_jdownloads.category.'.$option->value)

Also, could the patch I suggested on 11/05/2016 (namely add
$dirlist = array_values($dirlist);
after the line
natcasesort ( $dirlist ) ;
in administrator/components/com_jdownloads/helpers/jdownloadshelper.php)
be applied, assuming you agree with it (it doesn't seem to be in jd 3.2.46).

Thanks,
David
  •  

Arno

Hi,
sorry for my mistake with the older bugfix. It seems that i had forgot it.
I have now added all your bugfixes and it will be a part from the next version 3.2.47.
Many thanks.  ;)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •