× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

remove function in frontend contollers

10 года 2 дн. назад #370 от G Del
G Del создал тему: remove function in frontend contollers
It seems that there is a bug in the remove fucntion in the frontend controllers in the line

//Checking if the user can remove object
$user = JFactory::getUser();
if ($user->authorise($user->authorise('core.delete', 'com_indepit'))) {

$user->authorise occurs 2 times and the result is an error 500.

if ($user->authorise('core.delete', 'com_indepit')) { works !

thanks

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.107 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.