mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +00:00
93_DbRep: fix check changeValue Forum: #139950
git-svn-id: https://svn.fhem.de/fhem/trunk@29390 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
610bc74f74
commit
2ea08985f4
@ -1110,7 +1110,7 @@ sub DbRep_Set {
|
|||||||
my $oldval = $hc->{old};
|
my $oldval = $hc->{old};
|
||||||
my $newval = $hc->{new};
|
my $newval = $hc->{new};
|
||||||
|
|
||||||
if (!defined $oldval || !defined $newval) {
|
if ($oldval eq '' || $newval eq '') {
|
||||||
return qq{Both entries old="old string" new="new string" are needed.};
|
return qq{Both entries old="old string" new="new string" are needed.};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user