From cc15da5acd8e62937b542157dbe8c6488cd20512 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 20 Dec 2017 23:30:14 +0000 Subject: [PATCH] commandref_join.pl: fix single-module version git-svn-id: https://svn.fhem.de/fhem/trunk@15658 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/commandref_join.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/contrib/commandref_join.pl b/fhem/contrib/commandref_join.pl index d964b9675..ed5fe2f7c 100755 --- a/fhem/contrib/commandref_join.pl +++ b/fhem/contrib/commandref_join.pl @@ -80,7 +80,7 @@ chkAndGenLangLinks($$$) { my ($l, $lang, $fh) = @_; $var = $1 if($l =~ m/<\/a>/); - if($l =~ m/(.*?)<\/h3>/ && $var) { + if($fh && $l =~ m/(.*?)<\/h3>/ && $var) { print $fh "