a couple of places where we need to look for a sys channel euid.

This commit is contained in:
friendica
2014-11-11 18:05:50 -08:00
parent 06e5d0798c
commit 570577a990
2 changed files with 25 additions and 10 deletions

View File

@@ -2021,7 +2021,14 @@ function json_decode_plus($s) {
function design_tools() {
$channel = get_app()->get_channel();
if(array_key_exists('sys',$_REQUEST) && $_REQUEST['sys'] == 1 && is_site_admin()) {
require_once('include/identity.php');
$channel = get_sys_channel();
}
$who = $channel['channel_address'];
return replace_macros(get_markup_template('design_tools.tpl'), array(