merge
This commit is contained in:
parent
244b302a92
commit
8174a0dc2a
|
@ -605,8 +605,9 @@ class gallery extends common {
|
||||||
|
|
||||||
// Une seule galerie, bifurquer sur celle-ci
|
// Une seule galerie, bifurquer sur celle-ci
|
||||||
$gallery = count($this->getData(['module', $this->getUrl(0), 'content'])) === 1
|
$gallery = count($this->getData(['module', $this->getUrl(0), 'content'])) === 1
|
||||||
? array_key_first($this->getData(['module', $this->getUrl(0), 'content']))
|
? array_key_first($this->getData(['module', $this->getUrl(0), 'content']))
|
||||||
: $this->getUrl(1);
|
: $this->getUrl(1);
|
||||||
|
|
||||||
// Images d'une galerie
|
// Images d'une galerie
|
||||||
if($gallery) {
|
if($gallery) {
|
||||||
// La galerie n'existe pas
|
// La galerie n'existe pas
|
||||||
|
|
Loading…
Reference in New Issue