Set default value for days field in vacation popup window

This commit is contained in:
Hadi Nategh 2014-04-25 10:36:59 +00:00
parent defaaff716
commit fe5aec505b

View File

@ -544,6 +544,11 @@ class mail_sieve
{ {
$content['forwards'] = ''; $content['forwards'] = '';
} }
//Set default value for days new entry
if (empty($content['days']))
{
$content['days'] = '1';
}
} }
else else
{ {