Subject line (try to keep under 50 characters)

Multi-line description of commit,
feel free to be detailed.

[Ticket: X]
This commit is contained in:
Marko Oldenburg 2023-01-16 14:39:16 +01:00
parent 86dc3db975
commit 8e761ed85b
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,2 @@
UPD 2023-01-05_20:45:05 7708 FHEM/98_backupToStorage.pm UPD 2023-01-05_20:47:20 7708 FHEM/98_backupToStorage.pm
UPD 2023-01-05_20:45:17 23354 lib/FHEM/Services/backupToStorage.pm UPD 2023-01-16_14:39:09 23372 lib/FHEM/Services/backupToStorage.pm

View File

@ -108,6 +108,8 @@ sub Define {
my $hash = shift // return; my $hash = shift // return;
my $aArg = shift // return; my $aArg = shift // return;
my $version;
return $@ unless ( FHEM::Meta::SetInternals($hash) ); return $@ unless ( FHEM::Meta::SetInternals($hash) );
$version = FHEM::Meta::Get( $hash, 'version' ); $version = FHEM::Meta::Get( $hash, 'version' );