diff --git a/lizmap/modules/lizmap/lib/Project/ProjectMainData.php b/lizmap/modules/lizmap/lib/Project/ProjectMainData.php index edec65a9cd..74f4283f5e 100644 --- a/lizmap/modules/lizmap/lib/Project/ProjectMainData.php +++ b/lizmap/modules/lizmap/lib/Project/ProjectMainData.php @@ -547,13 +547,13 @@ protected function readCachedData($cachedData, $requiredTargetLwcVersion, $appCo ); $qgisCachedData = $cachedData['qgis']['data']; - if (array_key_exists('title', $qgisCachedData)) { + if (array_key_exists('title', $qgisCachedData) && !is_null($qgisCachedData['title'])) { $data['title'] = $qgisCachedData['title']; } - if (array_key_exists('abstract', $qgisCachedData)) { + if (array_key_exists('abstract', $qgisCachedData) && !is_null($qgisCachedData['abstract'])) { $data['abstract'] = $qgisCachedData['abstract']; } - if (array_key_exists('keywordList', $qgisCachedData)) { + if (array_key_exists('keywordList', $qgisCachedData) && !is_null($qgisCachedData['keywordList'])) { $data['keywordList'] = $qgisCachedData['keywordList']; }