]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newnotice.php
width and height are now properties in the File class
[quix0rs-gnu-social.git] / actions / newnotice.php
index 0d441c04316c26c8193521de0a63ec80416bf197..0c12c7d74ad70ca022dfe57b9c0f71ff462473da 100644 (file)
@@ -134,7 +134,7 @@ class NewnoticeAction extends FormAction
             }
         }
 
-        if ($user->shareLocation()) {
+        if ($this->scoped->shareLocation()) {
             // use browser data if checked; otherwise profile data
             if ($this->arg('notice_data-geo')) {
                 $locOptions = Notice::locationOptions($this->trimmed('lat'),