From 7b309029ff799fcf87529871be2e86e9e1825981 Mon Sep 17 00:00:00 2001 From: Bartek Wajda Date: Tue, 24 Oct 2023 15:55:06 +0200 Subject: [PATCH] IBX-3957: Updated `internalPublishUrlAliasForLocation`'s comments --- .../Core/Persistence/Legacy/Content/UrlAlias/Handler.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Handler.php b/eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Handler.php index 9b1da114f9..782918f72c 100644 --- a/eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Handler.php +++ b/eZ/Publish/Core/Persistence/Legacy/Content/UrlAlias/Handler.php @@ -230,9 +230,8 @@ private function internalPublishUrlAliasForLocation( } // Row exists, check if it is reusable. There are 3 cases when this is possible: - // 1. NOP entry - // 2. existing location or custom alias entry - // 3. history entry + // 1. existing location or custom alias entry + // 2. history entry if ( $row['action'] === $action || (int)$row['is_original'] === 0