mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
Fixed issue where negative priorities werent allowed (Thanks to Patrick Reinhardt for finding and fixing this issue).
git-svn-id: https://svn.fhem.de/fhem/trunk@4582 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1169d6c739
commit
91d66d0406
@ -90,11 +90,11 @@ sub Pushover_Set_Message
|
|||||||
my $shortExpressionMatched = 0;
|
my $shortExpressionMatched = 0;
|
||||||
my $longExpressionMatched = 0;
|
my $longExpressionMatched = 0;
|
||||||
|
|
||||||
if($attr =~ /(".*"|'.*')\s*(".*"|'.*')\s*(".*"|'.*')\s*(\d+)\s*(".*"|'.*')\s*(\d+)\s*(\d+)\s*$/s)
|
if($attr =~ /(".*"|'.*')\s*(".*"|'.*')\s*(".*"|'.*')\s*(-?\d+)\s*(".*"|'.*')\s*(\d+)\s*(\d+)\s*$/s)
|
||||||
{
|
{
|
||||||
$longExpressionMatched = 1;
|
$longExpressionMatched = 1;
|
||||||
}
|
}
|
||||||
elsif($attr =~ /(".*"|'.*')\s*(".*"|'.*')\s*(".*"|'.*')\s*(\d+)\s*(".*"|'.*')\s*$/s)
|
elsif($attr =~ /(".*"|'.*')\s*(".*"|'.*')\s*(".*"|'.*')\s*(-?\d+)\s*(".*"|'.*')\s*$/s)
|
||||||
{
|
{
|
||||||
$shortExpressionMatched = 1;
|
$shortExpressionMatched = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user