From cca61d7b8a9fd2aa22b05bf09ecd43ee523292d2 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sun, 16 Jun 2019 17:54:41 +0200 Subject: [PATCH] [9.1.11] petite correction dans le code du sitemap --- core/core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/core.php b/core/core.php index c486b265..a86cfc87 100644 --- a/core/core.php +++ b/core/core.php @@ -32,7 +32,7 @@ class common { const TEMP_DIR = 'site/tmp/'; // Numéro de version - const ZWII_VERSION = '9.1.10'; + const ZWII_VERSION = '9.1.11'; public static $actions = []; public static $coreModuleIds = [ @@ -680,7 +680,7 @@ class common { foreach($this->getData(['module',$childKey]) as $articleId => $article) { if($this->getData(['module',$childKey,$articleId,'state']) === true) { $date = $this->getData(['module',$childKey,$articleId,'publishedOn']); - $sitemap->addUrl( $childKey . '/' . $articleId , new DateTime("@{$date}"),new DateTimeZone($timezone)) ; + $sitemap->addUrl( $childKey . '/' . $articleId , new DateTime("@{$date}",new DateTimeZone($timezone))); } } }