diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-02-18 00:01:58 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-02-18 00:01:58 -0800 |
commit | 05b682c22f2dadf483b8a2842b4065acc34872af (patch) | |
tree | 0de82671aba61f80a21b8d491404e84f765061a1 /ajax | |
parent | 0c2b5f0ac59d6a0b6a317bae4adadb50c5dd899d (diff) | |
download | pathery-05b682c22f2dadf483b8a2842b4065acc34872af.tar.xz |
Active/Inactive maps shown in scoreboard.
Diffstat (limited to 'ajax')
-rw-r--r-- | ajax/maps.ajax.php | 2 |
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;
}
}
|