diff --git a/lib/settings-common.php b/lib/settings-common.php index 1d683fd..bd401c6 100644 --- a/lib/settings-common.php +++ b/lib/settings-common.php @@ -260,6 +260,7 @@ function getVersionsCount($fileLoc,$fileName) { $backupIndex = $backupDirBase.$backupDirHost."/".$backupDateDirs[$i]."/.versions-index"; // Have a .versions-index file? Get contents if (file_exists($backupIndex) && is_readable($backupIndex)) { + $versionsInfo = getData($backupIndex); $versionsInfo = explode("\n",$versionsInfo); // For each line, check if it's our file and if so, add the count to our $count value and $dateCount array for ($j=0; $j