pyrocms/pyrocms — Issue #815: issue on module_m.php
Author: khalil-tabbal
Created: 2011-10-18 21:32:37+00:00
State: open

While trying to give permissions to users, i get this error on the back office :

Trying to get property of non-object on \system\cms\modules\modules\models\module_m.php 183

It can be fixed by replacing : $params->slug by $row->slug

```php
if ( $this->current_user->group !== 'admin' AND empty($this->permissions[$row->slug]))
{
continue;
}