Reset to auto if not set

This commit is contained in:
Victor Dubiniuk 2015-10-05 20:52:25 +03:00
parent cf9fb034c4
commit 99f1112e33
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ class Expiration {
}
if (!isset($splitValues[1])) {
$maxValue = self::NO_OBLIGATION;
$maxValue = 'auto';
} else {
$maxValue = trim($splitValues[1]);
}