From 7149d5d8fee2deb41c0bdf52d96e7fb34353db8c Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 5 Mar 2019 18:58:57 +0100 Subject: [PATCH] Issue #230: Fix notice error. --- atomium/templates/html/html.component.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atomium/templates/html/html.component.inc b/atomium/templates/html/html.component.inc index 6e090be84..9cfcc8015 100644 --- a/atomium/templates/html/html.component.inc +++ b/atomium/templates/html/html.component.inc @@ -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') {