Skip to content

Commit

Permalink
Update view.html.php
Browse files Browse the repository at this point in the history
  • Loading branch information
philip-sorokin committed Sep 10, 2016
1 parent 132cd79 commit 504c948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_content/views/featured/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public function display($tpl = null)
$max = count($items);

// Raise an error if there are no items when pagination is used.
if($pagination->get('limitstart') && !$max)
if ($pagination->get('limitstart') && !$max)
{
JError::raiseError(404, JText::_('JERROR_PAGE_NOT_FOUND'));
}
Expand Down

0 comments on commit 504c948

Please sign in to comment.