diff options
author | zotlabs <mike@macgirvin.com> | 2018-04-18 17:26:05 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-04-19 08:44:17 +0200 |
commit | 1ef31d27c7b37b933f7fd0f7977d23ee186204d5 (patch) | |
tree | d108dad3507ed803e0143006acf40cb1816ab995 /include | |
parent | f634d157689f0290c1712a0b569a3b4a6af1dc82 (diff) | |
download | volse-hubzilla-1ef31d27c7b37b933f7fd0f7977d23ee186204d5.tar.gz volse-hubzilla-1ef31d27c7b37b933f7fd0f7977d23ee186204d5.tar.bz2 volse-hubzilla-1ef31d27c7b37b933f7fd0f7977d23ee186204d5.zip |
relax restrictions to the design tools menu to allow those with write_pages permission; this doesn't fix the underlying modules though as there are some potential security issues at the moment.
Diffstat (limited to 'include')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index bc44f22f3..e09c298d2 100644 --- a/include/text.php +++ b/include/text.php @@ -2404,7 +2404,7 @@ function jindent($json) { */ function design_tools() { - $channel = App::get_channel(); + $channel = channelx_by_n(App::$profile['profile_uid']); $sys = false; if(App::$is_sys && is_site_admin()) { |