diff options
author | Patrick Davison <snapwilliam@gmail.com> | 2013-03-06 01:47:20 -0800 |
---|---|---|
committer | Patrick Davison <snapwilliam@gmail.com> | 2013-03-06 01:47:20 -0800 |
commit | ab36b3bfff1b0c4d6e6398b1e968e41f436373b3 (patch) | |
tree | 1ad48dcdbedd809cd1e15c7f88924dd294705825 /pages/mapeditor.php | |
parent | 81596179bcfc00b7428e238ab619875e7accb52a (diff) | |
download | pathery-ab36b3bfff1b0c4d6e6398b1e968e41f436373b3.tar.xz |
mapeditor Go button fix.
Diffstat (limited to 'pages/mapeditor.php')
-rw-r--r-- | pages/mapeditor.php | 3 |
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; } |