fdesanto VIP
Total posts: 34
09 Feb 2018 14:59

Hi, I found a small Bug in emerald 10.

in plugin "Emerald - Restricter" if you enable "Require subscription" then Emerald javascript link (like /index.php/component/emerald/?task=emajax.mainJS&Itemid=1) does not works because it redirect to homepage.

The solution is to add this link exception in file /plugins/system/emerald/emerald.php, to solve I have changed line 462 from: if((in_array($input->getCmd('view'), $allow) && $option == 'com_emerald') || $option == 'com_users') to if((in_array($input->getCmd('view'), $allow) && $option == 'com_emerald') || $option == 'com_users' || $input->getCmd('task')=='emajax.mainJS')

Regards

Last Modified: 16 Apr 2018


Sergey
Total posts: 13,748
16 Apr 2018 13:40

thank you. Added to next update.

Powered by Cobalt