Skip to content

Commit

Permalink
the component name is com_contact not com_contacts (#12797)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepereiradasilva authored and rdeutz committed Nov 15, 2016
1 parent 20557af commit 1b5b6ef
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,9 @@ protected function addToolbar()
}

// Add a batch button
if ($user->authorise('core.create', 'com_contacts')
&& $user->authorise('core.edit', 'com_contacts')
&& $user->authorise('core.edit.state', 'com_contacts'))
if ($user->authorise('core.create', 'com_contact')
&& $user->authorise('core.edit', 'com_contact')
&& $user->authorise('core.edit.state', 'com_contact'))
{
$title = JText::_('JTOOLBAR_BATCH');

Expand Down

0 comments on commit 1b5b6ef

Please sign in to comment.