From d0dc2dcdf91803b295a96e15958a8329d56d7234 Mon Sep 17 00:00:00 2001 From: Leo Feyer Date: Wed, 12 Nov 2014 10:39:41 +0100 Subject: [PATCH] Correctly filter empty elements in String::resolveFlaggedUrl() --- system/modules/core/library/Contao/String.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/system/modules/core/library/Contao/String.php b/system/modules/core/library/Contao/String.php index ff1728cdbb..abedb00a73 100644 --- a/system/modules/core/library/Contao/String.php +++ b/system/modules/core/library/Contao/String.php @@ -660,6 +660,11 @@ public static function resolveFlaggedUrl(&$url) for ($i=1; $iasync = true; break; - case empty($chunks[$i]): - // Ignore - break; - case is_numeric($chunks[$i]): $options->mtime = $chunks[$i]; break;