summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-01-04 12:43:56 +0000
committerSarven Capadisli <csarven@status.net>2010-01-04 12:43:56 +0000
commit30f58bf15f9b7e8f2a58b998937b5fd1096ee930 (patch)
tree36d267fe817f2b7987f8111bbf69446b825dfeec /actions
parentad323575e6c083417fc4e6fc1e253bc9d564e6b2 (diff)
Updated element id for notice_data-geo
Diffstat (limited to 'actions')
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 8d89e9da0..a4ed87bb6 100644
--- a/actions/newnotice.php
+++ b/actions/newnotice.php
@@ -184,7 +184,7 @@ class NewnoticeAction extends Action
$options = array('reply_to' => ($replyto == 'false') ? null : $replyto);
- if ($user->shareLocation() && $this->arg('notice_data-location_enabled')) {
+ if ($user->shareLocation() && $this->arg('notice_data-geo')) {
$locOptions = Notice::locationOptions($this->trimmed('lat'),
$this->trimmed('lon'),