summaryrefslogtreecommitdiffstats
path: root/ajax/maps.ajax.php
diff options
context:
space:
mode:
Diffstat (limited to 'ajax/maps.ajax.php')
-rw-r--r--ajax/maps.ajax.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ajax/maps.ajax.php b/ajax/maps.ajax.php
index bd060fe..611080d 100644
--- a/ajax/maps.ajax.php
+++ b/ajax/maps.ajax.php
@@ -32,7 +32,7 @@ function getMapObjectByID($mapID) {
list($code, $name, $mapExpireTime) = mysql_fetch_row($result);
$map = new map($code, $mapID);
$map->name = $name;
- $map->dateExpires = $mapExpireTime;
+ $map->dateExpires = strtotime($mapExpireTime);
return $map;
}
}