98_fheminfo.pm: fix perl warning due to missing $release

git-svn-id: https://svn.fhem.de/fhem/trunk@14724 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2017-07-16 06:58:41 +00:00
parent 385fad953b
commit 7b732e8618

View File

@@ -152,7 +152,7 @@ sub _fi2_Send() {
my %hu_hash = ();
$hu_hash{url} = $cmds{fheminfo}{uri};
$hu_hash{data} = "uniqueID=".$fhemInfo{$c_system}{'uniqueID'}."&json=$json";
$hu_hash{header} = "User-Agent: FHEM/".$fhemInfo{$c_system}{'release'};
$hu_hash{header} = "User-Agent: FHEM";
$hu_hash{callback} = sub($$$) {
my ($hash, $err, $data) = @_;
if($err) {