summaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-03-06 01:47:20 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-03-06 01:47:20 -0800
commitab36b3bfff1b0c4d6e6398b1e968e41f436373b3 (patch)
tree1ad48dcdbedd809cd1e15c7f88924dd294705825 /pages
parent81596179bcfc00b7428e238ab619875e7accb52a (diff)
downloadpathery-ab36b3bfff1b0c4d6e6398b1e968e41f436373b3.tar.xz
mapeditor Go button fix.
Diffstat (limited to 'pages')
-rw-r--r--pages/mapeditor.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/pages/mapeditor.php b/pages/mapeditor.php
index 402f2d6..87fef32 100644
--- a/pages/mapeditor.php
+++ b/pages/mapeditor.php
@@ -17,7 +17,8 @@ if ($_REQUEST['mapByMap']) {
$map->$key = $value;
}
//Store the code in the object
- $map->getCode();
+ $code = $map->getOldCode();
+ $map->code = $code;
echo json_encode($map);
exit;
}