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