From 4bf41f3d2420784afde0a732e4c5c341254196c4 Mon Sep 17 00:00:00 2001 From: Thomas Portelange Date: Thu, 3 Aug 2023 09:09:43 +0200 Subject: [PATCH] Update FileLinkTracking.php --- src/Shortcodes/FileLinkTracking.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Shortcodes/FileLinkTracking.php b/src/Shortcodes/FileLinkTracking.php index 048d824d..a182f5c0 100644 --- a/src/Shortcodes/FileLinkTracking.php +++ b/src/Shortcodes/FileLinkTracking.php @@ -142,6 +142,7 @@ public function augmentSyncLinkTracking() } } + // We cannot rely on linkedPages being empty, because we need to remove them if there was any if (!$hasTrackedFields) { return; }