16
When adding a new category all the read permissions are deleted.
I found out that the problem only appears in XOOPS 233.
What really goes wrong is that the permissions are deleted by this query, because there is no categoryid. This means all permissions get deleted.
DELETE FROM group_permission WHERE (gperm_modid = '117' AND gperm_name = 'category_read')
However when I look to the code in /xoops/modules/smartsection/admin/category.php line 236, there is a categoryid send.
smartsection_saveCategory_Permissions($categoryObj->getGroups_read(), $categoryObj->categoryid(), 'category_read');
Somehow xoops233 is messing things up.
I am using SmartSection 2.14
Does anyone know how to fix this?
many thanks