From 99f1112e33af19f7f69f3edd8eb0ef9d78efc654 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Mon, 5 Oct 2015 20:52:25 +0300 Subject: [PATCH] Reset to auto if not set --- apps/files_versions/lib/expiration.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_versions/lib/expiration.php b/apps/files_versions/lib/expiration.php index fba705251e..4b3cecc120 100644 --- a/apps/files_versions/lib/expiration.php +++ b/apps/files_versions/lib/expiration.php @@ -138,7 +138,7 @@ class Expiration { } if (!isset($splitValues[1])) { - $maxValue = self::NO_OBLIGATION; + $maxValue = 'auto'; } else { $maxValue = trim($splitValues[1]); }