Skip to content

Commit

Permalink
Fix undefined variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Hagenbuch authored and mrubinsk committed Sep 7, 2015
1 parent 141b312 commit 965217e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ansel/lib/Widget/Geotag.php
Expand Up @@ -168,8 +168,8 @@ public function html()
);
}
$data['add_link'] = $addurl->link(array(
'title' => $title,
'onclick' => "Ansel.widgets.geotag.setLocation(" . $image_id . ",'" . $data['image_latitude'] . "', '" . $data['image_longitude'] . "'); return false"
'title' => $data['title'],
'onclick' => "Ansel.widgets.geotag.setLocation(" . $id . ",'" . $data['image_latitude'] . "', '" . $data['image_longitude'] . "'); return false"
)
);
}
Expand Down

0 comments on commit 965217e

Please sign in to comment.