fixed bug with mxids

This commit is contained in:
kremsy
2014-05-01 17:34:57 +02:00
committed by Steffen Schröder
parent a550ed9e0e
commit f7430dfad9
4 changed files with 32 additions and 2 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ class Map {
* @return bool
*/
public function updateAvailable() {
if($this->mx != null && ($this->lastUpdate < $this->mx->updated || $this->uid != $this->mx->uid)) {
if($this->mx != null && ($this->lastUpdate < strtotime($this->mx->updated) || $this->uid != $this->mx->uid)) {
return true;
} else {
return false;