]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Updated element id for notice_data-geo
authorSarven Capadisli <csarven@status.net>
Mon, 4 Jan 2010 12:43:56 +0000 (12:43 +0000)
committerSarven Capadisli <csarven@status.net>
Mon, 4 Jan 2010 12:43:56 +0000 (12:43 +0000)
actions/newnotice.php

index 8d89e9da07edc394fa21e9ce777055960bee59f1..a4ed87bb62e695b86cc02e026259dce025d01102 100644 (file)
@@ -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'),