FB_CALLLIST: added missing time frame unit "week" to AttrFn check.
git-svn-id: https://svn.fhem.de/fhem/trunk@11012 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -206,7 +206,7 @@ sub FB_CALLLIST_Attr($@)
|
||||
}
|
||||
elsif($attrib eq "expire-calls-after")
|
||||
{
|
||||
if($value !~ /^\s*\d+(?:\.\d+)?(?:\s+(?:minute|hour|day|month|year)s?)?\s*$/i)
|
||||
if($value !~ /^\s*\d+(?:\.\d+)?(?:\s+(?:minute|hour|day|week|month|year)s?)?\s*$/i)
|
||||
{
|
||||
return "not a valid time frame value. See commandref for the correct syntax.";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user