mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 12:54:48 -04:00
Fix variable initializaion if museum is not found
This commit is contained in:
parent
d54d3357b1
commit
f8d73ebaf1
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Artwork{
|
|||
$this->_Museum = Museum::GetByUrl($this->MuseumUrl);
|
||||
}
|
||||
catch(Exceptions\MuseumNotFoundException){
|
||||
// Pass.
|
||||
$this->_Museum = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue