warning stristr deprecated

This commit is contained in:
F Tempez 2021-04-07 13:57:09 +02:00
parent fc2fbf2103
commit 695abf314a
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<div class="colPicture"> <div class="colPicture">
<a <a
href="<?php echo helper::baseUrl(false) . $picture; ?>" href="<?php echo helper::baseUrl(false) . $picture; ?>"
<?php if ( stristr($picture,$this->getdata(['module',$this->getUrl(0),$this->getUrl(1),'config','homePicture'])) ) { <?php if ( $picture === $this->getdata(['module',$this->getUrl(0),$this->getUrl(1),'config','homePicture']) ) {
echo 'id="homePicture"'; } ?> echo 'id="homePicture"'; } ?>
class="galleryGalleryPicture" class="galleryGalleryPicture"
style="background-image:url('<?php echo helper::baseUrl(false) . $module::$thumbs[$picture]; ?>')" style="background-image:url('<?php echo helper::baseUrl(false) . $module::$thumbs[$picture]; ?>')"