Merge branch 'master' of github.com:ZoneMinder/ZoneMinder

pull/2736/head
Isaac Connor 2019-09-10 17:20:43 -04:00
commit 4891306cdf
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ sub Path {
if ( ! $$event{Path} ) {
my $Storage = $event->Storage();
if ( defined $Storage->Id() ) {
if ( (!$$event{StorageId}) or defined $Storage->Id() ) {
$$event{Path} = join('/', $Storage->Path(), $event->RelativePath());
} else {
Error("Storage area for $$event{StorageId} no longer exists in db.");