diff options
author | sirius <sirius83@gmx.de> | 2014-04-20 01:07:36 +0200 |
---|---|---|
committer | jmankiewicz <sirius83@gmx.de> | 2014-04-20 01:12:47 +0200 |
commit | c946d926103a3bce94dcf99a137f3329ce011e2a (patch) | |
tree | 36749769bbd342f078a5315b2736b80e89e4542c /mod/zotfeed.php | |
parent | 6cf5a69d7e8ac12c9c946397ca5c9a1126665974 (diff) | |
parent | 891a7fb0f5651447c43560210126a86a6b69aa29 (diff) | |
download | volse-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.php | 5 |
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 { |