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:
commit
6ecfdf2c31
|
@ -196,7 +196,7 @@ class Event {
|
|||
} // end function createListThumbnail
|
||||
|
||||
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;
|
||||
$eventPath = $Event->Path();
|
||||
|
||||
|
|
Loading…
Reference in New Issue