diff --git a/src/Service/UWService.php b/src/Service/UWService.php index 5ff140b21e53fdd4b0d25df29a21529342948837..cb0d6fcf1d8a1f246411ede1d873ea68cc96a875 100644 --- a/src/Service/UWService.php +++ b/src/Service/UWService.php @@ -315,7 +315,7 @@ class UWService implements UWServiceInterface { $path = $this->pathAliasManager->getPathByAlias('/' . $alias); // Check if it is a node path and if so check if published. - if(preg_match('/node\/(\d+)/', $path, $matches)) { + if (preg_match('/node\/(\d+)/', $path, $matches)) { // Load in the node based on the path. $node = $this->entityTypeManager->getStorage('node')->load($matches[1]);