This commit is contained in:
fredtempez 2022-03-22 15:44:52 +01:00
parent 244b302a92
commit 8174a0dc2a
1 changed files with 3 additions and 2 deletions

View File

@ -607,6 +607,7 @@ class gallery extends common {
$gallery = count($this->getData(['module', $this->getUrl(0), 'content'])) === 1
? array_key_first($this->getData(['module', $this->getUrl(0), 'content']))
: $this->getUrl(1);
// Images d'une galerie
if($gallery) {
// La galerie n'existe pas