Skip to content

Commit

Permalink
PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Aug 18, 2018
1 parent 9beaa61 commit bf07872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/src/MVC/View/CategoryFeedView.php
Expand Up @@ -104,7 +104,7 @@ public function display($tpl = null)
{
$date = date('r', strtotime($item->$publishedField));
}
else if ($createdField)
elseif ($createdField)
{
$date = isset($item->$createdField) ? date('r', strtotime($item->$createdField)) : '';
}
Expand Down

0 comments on commit bf07872

Please sign in to comment.