mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 06:36:04 +00:00
fhem.pl: avoid warning (Forum #32058)
git-svn-id: https://svn.fhem.de/fhem/trunk@7542 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d5f9257faf
commit
5a2aac47f8
@ -4011,7 +4011,7 @@ getUniqueId()
|
|||||||
{
|
{
|
||||||
my ($err, $uniqueID) = getKeyValue("uniqueID");
|
my ($err, $uniqueID) = getKeyValue("uniqueID");
|
||||||
return $uniqueID if(defined($uniqueID));
|
return $uniqueID if(defined($uniqueID));
|
||||||
my ($uniqueID) = createUniqueId();
|
$uniqueID = createUniqueId();
|
||||||
setKeyValue("uniqueID", $uniqueID);
|
setKeyValue("uniqueID", $uniqueID);
|
||||||
return $uniqueID;
|
return $uniqueID;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user