Skip to content

Commit

Permalink
Merge pull request #231 from ec-europa/230-fix-notice-error
Browse files Browse the repository at this point in the history
Issue #230: Fix notice error.
  • Loading branch information
drupol committed Mar 6, 2019
2 parents 0f767cc + 7149d5d commit fb7f476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atomium/templates/html/html.component.inc
Expand Up @@ -44,7 +44,7 @@ function atomium_preprocess_html(array &$variables, $hook) {
// Add unique class for each page.
$path = drupal_get_path_alias($_GET['q']);
// Add unique class for each website section.
list($section, $rest) = \explode('/', $path, 2);
list($section) = \explode('/', $path, 2);
$arg = \explode('/', $_GET['q']);
if ($arg[0] === 'node' && isset($arg[1])) {
if ($arg[1] === 'add') {
Expand Down

0 comments on commit fb7f476

Please sign in to comment.