diff --git a/lib/settings-common.php b/lib/settings-common.php index 63073ad..cdd7198 100644 --- a/lib/settings-common.php +++ b/lib/settings-common.php @@ -182,6 +182,7 @@ if (!function_exists('array_replace_recursive')) { // Get number of versions total for a file function getVersionsCount($fileLoc,$fileName) { + global $context; $count = 0; $dateCounts = array(); // Establish the base, host and date dirs within... @@ -199,7 +200,7 @@ function getVersionsCount($fileLoc,$fileName) { for ($i=0; $i