pyrocms/pyrocms — Issue #1089: Fix for admin theme navigation.php
Author: budparr
Created: 2012-01-20 23:54:51+00:00
State: open

To fix a problem where a user has permission to access "newsletters," but not "users," and a (bad) link to "manage users" shows in the nav bar:

In
/system/cms/themes/pyrocms/views/admin/partials/navigation.php

I changed line 50

from
elseif ($count == 1 AND ($this->module == 'users' OR $this->module == '') AND $menu_item == 'users')

to
elseif ($count == 1 AND ($this->module == 'users') AND $menu_item == 'users')