mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
98_JsonMod.pm: filter parser, bugfix if filtertext contains letter 0
git-svn-id: https://svn.fhem.de/fhem/trunk@22987 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
7365e593dc
commit
d8584077f6
@ -1365,7 +1365,7 @@ sub get {
|
||||
my $rex = join('|', @operators);
|
||||
$rex = qr/^($rex)/;
|
||||
|
||||
while (my $c = substr($filter, 0, 1)) {
|
||||
while (defined(my $c = substr($filter, 0, 1))) {
|
||||
if ($c eq q{'}) {
|
||||
$delim ^= 1;
|
||||
#substr($filter, 0, 1, '');
|
||||
|
Loading…
Reference in New Issue
Block a user