forked from ZwiiCMS-Team/ZwiiCMS
couverture gallery v9 à v10 fix
This commit is contained in:
parent
ca2b7dda60
commit
77d4fcbdd8
@ -1138,10 +1138,10 @@ class common {
|
|||||||
if ( $this->getdata(['module',$parent,$galleryKey,'config','position']) === NULL) {
|
if ( $this->getdata(['module',$parent,$galleryKey,'config','position']) === NULL) {
|
||||||
$this->setdata(['module',$parent,$galleryKey,'config','position',$i++]);
|
$this->setdata(['module',$parent,$galleryKey,'config','position',$i++]);
|
||||||
}
|
}
|
||||||
}
|
// Image de couverture
|
||||||
// Image de couverture
|
if ( $this->getdata(['module',$parent,$galleryKey,'config','homePicture']) === NULL) {
|
||||||
if ( $this->getdata(['module',$parent,$galleryKey,'config','homePicture']) === NULL) {
|
$this->setdata(['module',$parent,$galleryKey,'config','homePicture','']);
|
||||||
$this->setdata(['module',$parent,$galleryKey,'config','homePicture','']);
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user