diff --git a/module/VuFindConsole/src/VuFindConsole/Controller/UtilController.php b/module/VuFindConsole/src/VuFindConsole/Controller/UtilController.php index 7b1dc350b64db108a18e21baa34eb1cf3779aa97..245a532d5faa7c4a2cc2422bf654750af8a97fb2 100644 --- a/module/VuFindConsole/src/VuFindConsole/Controller/UtilController.php +++ b/module/VuFindConsole/src/VuFindConsole/Controller/UtilController.php @@ -698,7 +698,7 @@ class UtilController extends AbstractBase $sleepTime = $request->getParam('sleep', 100); // Abort if we have an invalid expiration age. - if ($daysOld < 2) { + if ($daysOld < $minAge) { Console::writeLine( str_replace( '%%age%%', $minAge,