From 39f008fef5f61ce704e288347cdfcb26bd49b39c Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Mon, 26 Jul 2021 11:49:46 +0000 Subject: [PATCH] commandref_join.pl: fix some name/id problems (Forum #122160) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@24801 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- contrib/commandref_join.pl | 11 +++++------ contrib/commandref_modular.pl | 8 +++----- contrib/commandref_static.pl | 6 ++---- 3 files changed, 10 insertions(+), 15 deletions(-) diff --git a/contrib/commandref_join.pl b/contrib/commandref_join.pl index 6d8d194f6..3c0ca5299 100755 --- a/contrib/commandref_join.pl +++ b/contrib/commandref_join.pl @@ -79,7 +79,7 @@ sub chkAndGenLangLinks($$$) { my ($l, $lang, $fh) = @_; - $var = $1 if($l =~ m/<\/a>/); + $var = $2 if($l =~ m/<\/a>/); if($fh && $l =~ m/(.*?)<\/h3>/ && $var) { print $fh "