Skip to content

Commit

Permalink
EICNET-3000: Coding standards.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwb17 committed Feb 19, 2024
1 parent ace696a commit 93ad363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function _eic_community_preprocess_node_news_story(array &$variables) {

// Privacy information, if current user is anonymous remove the author.
if (\Drupal::currentUser()->isAnonymous()) {
$item['author'] = NULL;
$item['author'] = NULL;
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/themes/eic_community/includes/preprocess/views.inc
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function _eic_community_preprocess_views__latest_news_and_stories__homepage(&$va

// Privacy information, if current user is anonymous remove the author.
if (\Drupal::currentUser()->isAnonymous()) {
$item['author'] = NULL;
$item['author'] = NULL;
}

if (!$node_translation->get('field_image')->isEmpty()) {
Expand Down

0 comments on commit 93ad363

Please sign in to comment.