fixed update available
This commit is contained in:
committed by
Steffen Schröder
parent
b8758138b3
commit
de96708156
@ -90,7 +90,7 @@ class Map {
|
||||
* @return bool
|
||||
*/
|
||||
public function updateAvailable() {
|
||||
if($this->lastUpdate < $this->mx->updated || $this->uid != $this->mx->uid) {
|
||||
if($this->mx != null && ($this->lastUpdate < $this->mx->updated || $this->uid != $this->mx->uid)) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user