fix attempt when session is lost

This commit is contained in:
quenousimporte 2024-03-13 13:17:31 +01:00
parent cc1f09be6b
commit 4a3061fccd
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@
echo '<div>';
if (!isset($_SESSION['index']) || isset($_GET['reindex']))
if (!isset($_SESSION['index']) || isset($_GET['reindex']) || empty($_SESSION['index']))
{
$files = glob($dir . '/*');
usort($files, function($a, $b)