diff --git a/core/lib/Drupal/Core/Path/AliasManager.php b/core/lib/Drupal/Core/Path/AliasManager.php index 91805cb..3445369 100644 --- a/core/lib/Drupal/Core/Path/AliasManager.php +++ b/core/lib/Drupal/Core/Path/AliasManager.php @@ -104,7 +104,6 @@ public function getSystemPath($path, $path_language = NULL) { // requested URL, we might end up being unable to check if there is a path // alias matching the URL path. $path_language = $path_language ?: $this->languageManager->getLanguage(Language::TYPE_URL)->id; - $original_path = $path; // Lookup the path alias first. if (!empty($path) && $source = $this->lookupPathSource($path, $path_language)) { $path = $source;