summaryrefslogtreecommitdiff
path: root/actions/newnotice.php
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-12-29 16:17:17 -0500
committerCraig Andrews <candrews@integralblue.com>2009-12-29 16:18:52 -0500
commit98ce7daf5650ebd7e6f6bbaca6e57069ffccae55 (patch)
tree9fc9ec3b9b95d3bd638049e188b97de48662655d /actions/newnotice.php
parente152bec2822a4ec773d02dd05f080a049ff3d524 (diff)
Implement user interface for user to preview what location they are sharing with a notice
Diffstat (limited to 'actions/newnotice.php')
-rw-r--r--actions/newnotice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newnotice.php b/actions/newnotice.php
index 2d9f0ff79..8d89e9da0 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()) {
+ if ($user->shareLocation() && $this->arg('notice_data-location_enabled')) {
$locOptions = Notice::locationOptions($this->trimmed('lat'),
$this->trimmed('lon'),