aboutsummaryrefslogtreecommitdiffstats
path: root/mod/zotfeed.php
diff options
context:
space:
mode:
authorsirius <sirius83@gmx.de>2014-04-20 01:07:36 +0200
committerjmankiewicz <sirius83@gmx.de>2014-04-20 01:12:47 +0200
commitc946d926103a3bce94dcf99a137f3329ce011e2a (patch)
tree36749769bbd342f078a5315b2736b80e89e4542c /mod/zotfeed.php
parent6cf5a69d7e8ac12c9c946397ca5c9a1126665974 (diff)
parent891a7fb0f5651447c43560210126a86a6b69aa29 (diff)
downloadvolse-hubzilla-c946d926103a3bce94dcf99a137f3329ce011e2a.tar.gz
volse-hubzilla-c946d926103a3bce94dcf99a137f3329ce011e2a.tar.bz2
volse-hubzilla-c946d926103a3bce94dcf99a137f3329ce011e2a.zip
Merge branch 'master' of https://github.com/friendica/red into mod-profpicperm
Diffstat (limited to 'mod/zotfeed.php')
-rw-r--r--mod/zotfeed.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/zotfeed.php b/mod/zotfeed.php
index 1f5dc2cfa..480e886cd 100644
--- a/mod/zotfeed.php
+++ b/mod/zotfeed.php
@@ -21,8 +21,9 @@ function zotfeed_init(&$a) {
$channel_address = ((argc() > 1) ? argv(1) : '');
if($channel_address) {
- $r = q("select channel_id, channel_name from channel where channel_address = '%s' limit 1",
- dbesc(argv(1))
+ $r = q("select channel_id, channel_name from channel where channel_address = '%s' and not (channel_pageflags & %d) limit 1",
+ dbesc(argv(1)),
+ intval(PAGE_REMOVED)
);
}
else {