summaryrefslogtreecommitdiffstats
path: root/ajax/maps.ajax.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-02-18 00:01:58 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-02-18 00:01:58 -0800
commit05b682c22f2dadf483b8a2842b4065acc34872af (patch)
tree0de82671aba61f80a21b8d491404e84f765061a1 /ajax/maps.ajax.php
parent0c2b5f0ac59d6a0b6a317bae4adadb50c5dd899d (diff)
downloadpathery-05b682c22f2dadf483b8a2842b4065acc34872af.tar.xz
Active/Inactive maps shown in scoreboard.
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;
}
}