Skip to content

Commit

Permalink
Fixed the codestyle
Browse files Browse the repository at this point in the history
Signed-off-by: Roland Dalmulder <contact@rolandd.com>
  • Loading branch information
roland-d committed Oct 18, 2018
1 parent b74e7d1 commit 16b9cef
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/com_content/Helper/AssociationHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ public static function getAssociations($id = 0, $view = null)
{
if ($id)
{
if (!isset(static::$filters[$id])) {
if (!isset(static::$filters[$id]))
{
$associations = Associations::getAssociations('com_content', '#__content', 'com_content.item', $id);

$return = array();
Expand All @@ -76,11 +77,11 @@ public static function getAssociations($id = 0, $view = null)
->whereIn($db->qn('access'), $groups);
$db->setQuery($query);

$result = (int)$db->loadResult();
$result = (int) $db->loadResult();

if ($result > 0)
{
$return[$tag] = \ContentHelperRoute::getArticleRoute((int)$item->id, (int)$item->catid, $item->language);
$return[$tag] = \ContentHelperRoute::getArticleRoute((int) $item->id, (int) $item->catid, $item->language);
}
}

Expand Down

0 comments on commit 16b9cef

Please sign in to comment.