mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fhem.pl: chack save parameter (Forum #32986)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@7771 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9948ea8d6e
commit
ece590150e
2
fhem.pl
2
fhem.pl
@ -1324,7 +1324,7 @@ CommandSave($$)
|
|||||||
{
|
{
|
||||||
my ($cl, $param) = @_;
|
my ($cl, $param) = @_;
|
||||||
|
|
||||||
if($param eq "?") {
|
if($param && $param eq "?") {
|
||||||
return "No structural changes." if(!@structChangeHist);
|
return "No structural changes." if(!@structChangeHist);
|
||||||
return "Last 10 structural changes:\n ".join("\n ", @structChangeHist);
|
return "Last 10 structural changes:\n ".join("\n ", @structChangeHist);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user