Merge pull request #1790 from vajonam/1789-fix-misssing-isset-check

fix missing isset check, caused number of Undefined Property warnings
This commit is contained in:
Isaac Connor 2017-02-19 17:12:26 -05:00 committed by GitHub
commit 6ecfdf2c31
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ class Event {
} // end function createListThumbnail } // end function createListThumbnail
function getImageSrc( $frame, $scale=SCALE_BASE, $captureOnly=false, $overwrite=false ) { function getImageSrc( $frame, $scale=SCALE_BASE, $captureOnly=false, $overwrite=false ) {
$Storage = new Storage( $this->{'StorageId'} ); $Storage = new Storage( isset($this->{'StorageId'}) ? $this->{'StorageId'} : NULL );
$Event = $this; $Event = $this;
$eventPath = $Event->Path(); $eventPath = $Event->Path();