diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-06 13:45:35 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-06 13:45:35 +0200 |
commit | 4b31b349b876bef5ef1839add20017b9ad048447 (patch) | |
tree | b6f2389994388bbf45b12b8ff695dc1c30da5400 /apps/files_versions | |
parent | 6651aa19ea8f0a617bcf22126e8cda70466400af (diff) | |
parent | 99f1112e33af19f7f69f3edd8eb0ef9d78efc654 (diff) | |
download | nextcloud-server-4b31b349b876bef5ef1839add20017b9ad048447.tar.gz nextcloud-server-4b31b349b876bef5ef1839add20017b9ad048447.zip |
Merge pull request #19595 from owncloud/fix-versions-log-entry
Reset to auto if not set
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/lib/expiration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/expiration.php b/apps/files_versions/lib/expiration.php index fba705251e9..4b3cecc1202 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]); } |