Merge remote-tracking branch 'mike/master' into dev
This commit is contained in:
commit
a00aae702d
@ -12,7 +12,7 @@ class Display extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
function get($update = 0, $load = false) {
|
function get($update = 0, $load = false) {
|
||||||
|
|
||||||
$noscript_content = get_config('system', 'noscript_content', '1');
|
$noscript_content = (get_config('system', 'noscript_content', '1') && (! $update));
|
||||||
|
|
||||||
$module_format = 'html';
|
$module_format = 'html';
|
||||||
|
|
||||||
@ -299,7 +299,6 @@ class Display extends \Zotlabs\Web\Controller {
|
|||||||
require_once('include/channel.php');
|
require_once('include/channel.php');
|
||||||
$sys = get_sys_channel();
|
$sys = get_sys_channel();
|
||||||
$sysid = $sys['channel_id'];
|
$sysid = $sys['channel_id'];
|
||||||
|
|
||||||
if(local_channel()) {
|
if(local_channel()) {
|
||||||
$r = q("SELECT item.parent AS item_id from item
|
$r = q("SELECT item.parent AS item_id from item
|
||||||
WHERE uid = %d
|
WHERE uid = %d
|
||||||
@ -340,7 +339,7 @@ class Display extends \Zotlabs\Web\Controller {
|
|||||||
else {
|
else {
|
||||||
$r = array();
|
$r = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
if($r) {
|
if($r) {
|
||||||
$parents_str = ids_to_querystr($r,'item_id');
|
$parents_str = ids_to_querystr($r,'item_id');
|
||||||
if($parents_str) {
|
if($parents_str) {
|
||||||
|
Reference in New Issue
Block a user