mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
commandref_join.pl: negative tagcount warning will respect noWarnings
git-svn-id: https://svn.fhem.de/fhem/trunk@16425 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
85775c30db
commit
4bf7c90037
@ -178,7 +178,8 @@ generateModuleCommandref($$;$$)
|
||||
$tagcount{$tag} +=()= ($l =~ /<$tag>/gi);
|
||||
$tagcount{$tag} -=()= ($l =~ /<\/$tag>/gi);
|
||||
if($tagcount{$tag} < 0) {
|
||||
print "*** $lang $fPath: negative tagcount for $tag, line $line\n";
|
||||
print "*** $lang $fPath: negative tagcount for $tag, line $line\n"
|
||||
if(!$noWarnings);
|
||||
$tagcount{$tag} = 0;
|
||||
}
|
||||
$llwct{$tag} = $line if(!$tagcount{$tag});
|
||||
|
Loading…
Reference in New Issue
Block a user