2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 17:36:01 +00:00

HMInfo:cleanup

git-svn-id: https://svn.fhem.de/fhem/trunk@11500 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2016-05-22 17:59:41 +00:00
parent daecaa530a
commit 452269fdf1

View File

@ -2216,9 +2216,10 @@ sub HMinfo_templateDef(@){#####################################################
$cnt++;
last if ($desc =~ m/"$/);
}
$desc =~ s/"//g;
splice @regs,0,$cnt;
}
$desc =~ s/"//g;#reduce " to a single pair
# $desc = "\"".$desc."\"";
return "insufficient parameter, regs missing" if(@regs < 1);