From a936db206e25bdbdfec75b446796cb8dd3f41d82 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 17 Jan 2016 11:47:01 +0000 Subject: [PATCH] commandref_join.pl: fixing configDb issue (Forum #47155) git-svn-id: https://svn.fhem.de/fhem/trunk@10553 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/commandref_join.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fhem/contrib/commandref_join.pl b/fhem/contrib/commandref_join.pl index f07cd149d..66c86d9ec 100755 --- a/fhem/contrib/commandref_join.pl +++ b/fhem/contrib/commandref_join.pl @@ -41,7 +41,12 @@ if(!$verify) { close(MOD); } } - $mods{configDB} = "configDB.pm" if(-f "configDB.pm"); + + if(-f "configDB.pm") { + $mods{configDB} = "configDB.pm"; + $modIdx{configDB} = "helper"; + } + } else { # check for syntax only my $modname = $verify; $modname =~ s/^.*[\/\\](?:\d\d_)?(.+).pm$/$1/;