aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-04-29 16:45:05 +0200
committerMario Vavti <mario@mariovavti.com>2015-04-29 16:45:05 +0200
commite56b8fdfaf0c7d4ad1d363639efac7863fe21f93 (patch)
treee994b314e6c3dbf2f34db905ced637ee04bec152 /mod
parentf987fc3e6fcd4cda0bfe2a92d7b4b04e79159e89 (diff)
downloadvolse-hubzilla-e56b8fdfaf0c7d4ad1d363639efac7863fe21f93.tar.gz
volse-hubzilla-e56b8fdfaf0c7d4ad1d363639efac7863fe21f93.tar.bz2
volse-hubzilla-e56b8fdfaf0c7d4ad1d363639efac7863fe21f93.zip
fix $noloc state in mod editwebpages
Diffstat (limited to 'mod')
-rw-r--r--mod/editwebpage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php
index a1918741b..cdf5d8c20 100644
--- a/mod/editwebpage.php
+++ b/mod/editwebpage.php
@@ -188,7 +188,7 @@ function editwebpage_content(&$a) {
'$video' => t('Insert Vorbis [.ogg] video'),
'$audio' => t('Insert Vorbis [.ogg] audio'),
'$setloc' => t('Set your location'),
- '$noloc' => t('Clear browser location'),
+ '$noloc' => ((get_pconfig($uid, 'system', 'use_browser_location')) ? t('Clear browser location') : ''),
'$wait' => t('Please wait'),
'$permset' => t('Permission settings'),
'$ptyp' => $itm[0]['type'],