Page 1 of 1

CompanyDirectory 1.5.2 Category Permissions Error

Posted: Tue Mar 23, 2010 3:29 pm
by timmahoney
If anyone has an error with this, there's a quick fix

When clicking into CompanyDirectory->Settings->Category Tab and then clicking a Category to edit it, I received a Permissions error. I dug a bit and found the line in action.editcategory.php (line 21)

Code: Select all

if (!$this->CheckPermission('Modify Company Directory')) exit;
{
	echo $this->ShowErrors($this->Lang('needpermission', array('Modify Company Directory')));
	return;
}
Remove the "exit;" at the end of line 21, and it should work fine.

Re: CompanyDirectory 1.5.2 Category Permissions Error

Posted: Wed Mar 24, 2010 2:41 pm
by nicmare
its a known problem. check the bugtracker