Skip to content

Commit

Permalink
compatibility PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
plegall committed Apr 24, 2024
1 parent a61ecc2 commit e304cee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/FeaturedPhotos/main.inc.php
Expand Up @@ -29,7 +29,7 @@

$page['items'] = array_from_query($query, 'id');
$page['start'] = 0;
$page['nb_image_page'] = $datas['nb_images'];
$page['nb_image_page'] = isset($datas['nb_images']) ? $datas['nb_images'] : 0;
$page['section'] = 'category';

$tpl_thumbnails_var = array();
Expand Down

0 comments on commit e304cee

Please sign in to comment.