From bc81874cf334d93a0357fcd42ea9464b672c31d8 Mon Sep 17 00:00:00 2001 From: markusbloch <> Date: Sun, 6 Mar 2016 16:36:19 +0000 Subject: [PATCH] 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 --- fhem/FHEM/72_FB_CALLLIST.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/72_FB_CALLLIST.pm b/fhem/FHEM/72_FB_CALLLIST.pm index 4ca3caf66..146eef9cd 100755 --- a/fhem/FHEM/72_FB_CALLLIST.pm +++ b/fhem/FHEM/72_FB_CALLLIST.pm @@ -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."; }