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:
rudolfkoenig
2015-01-30 07:10:22 +00:00
parent a9a3b6c7fb
commit 2d00285b53

View File

@@ -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);
}