This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

a change in sample app

  • Loading branch information...
1 parent 08ef2d4 commit 5c24b1346759374355e110a6f717ffc692b98bdc @Buddhima Buddhima committed with buddhima Jan 1, 2013
Showing with 6 additions and 4 deletions.
  1. +6 −4 test_osm.php
View
@@ -61,7 +61,7 @@ function doExecute()
// $osm=new JOpenstreetmap();
// New changeset object obtained
- $changeset = $osm ->changesets;
+ $changeset = $osm->changesets;
// New element object obtained
$element = $osm->elements;
@@ -71,12 +71,14 @@ function doExecute()
$changesets = array
(
- "comment" => "my changeset comment",
- "created_by" => "JOSM/1.0 (5581 en)"
+ array(
+ "comment" => "my changeset comment",
+ "created_by" => "JOSM/1.0 (5581 en)"
+ )
);
// Creates a new changeset
- $result = $changeset ->createChangeset($changesets);
+ $result = $changeset->createChangeset($changesets);
// Prints the number of newly created changeset
print_r($result);

0 comments on commit 5c24b13

Please sign in to comment.