Skip to content

Commit

Permalink
fix toolbar permissions check
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Mar 6, 2017
1 parent 3fb58df commit 1fff9dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ public function display($tpl = null)
*/
protected function addToolbar()
{
$canDo = JHelperContent::getActions('com_users');

JToolbarHelper::title(JText::sprintf('COM_USERS_VIEW_DEBUG_GROUP_TITLE', $this->group->id, $this->group->title), 'users groups');
JToolbarHelper::cancel('group.cancel', 'JTOOLBAR_CLOSE');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ public function display($tpl = null)
*/
protected function addToolbar()
{
$canDo = JHelperContent::getActions('com_users');

JToolbarHelper::title(JText::sprintf('COM_USERS_VIEW_DEBUG_USER_TITLE', $this->user->id, $this->user->name), 'users user');
JToolbarHelper::cancel('user.cancel', 'JTOOLBAR_CLOSE');

Expand Down

0 comments on commit 1fff9dd

Please sign in to comment.