Skip to content

Commit

Permalink
Use strict comparison, make code consistent. Thanks @brianteeman
Browse files Browse the repository at this point in the history
  • Loading branch information
joomdonation committed Dec 31, 2017
1 parent b0e9847 commit 16c0047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/MVC/View/CategoryView.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function commonCategoryDisplay()
$children = $this->get('Children');
$parent = $this->get('Parent');

if ($category == false || $parent == false)
if ($category === false || $parent === false)
{
return \JError::raiseError(404, \JText::_('JGLOBAL_CATEGORY_NOT_FOUND'));
}
Expand Down

0 comments on commit 16c0047

Please sign in to comment.