Skip to content

Commit

Permalink
Add the correct exception after 11593 merge (was waiting for that mer…
Browse files Browse the repository at this point in the history
…rge) (#11606)
  • Loading branch information
andrepereiradasilva authored and rdeutz committed Aug 14, 2016
1 parent b5b2579 commit f827dfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_banners/banners.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

if (!JFactory::getUser()->authorise('core.manage', 'com_banners'))
{
throw new Exception(JText::_('JERROR_ALERTNOAUTHOR'), 403);
throw new JControllerExceptionNotallowed(JText::_('JERROR_ALERTNOAUTHOR'), 403);
}

// Execute the task.
Expand Down

0 comments on commit f827dfc

Please sign in to comment.