From 696eff1031864931477c7b2da3c8f39e4befac40 Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 25 Jan 2011 18:25:04 -0800 Subject: [PATCH] no comment box if no notify, not no poll --- include/items.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/items.php b/include/items.php index b6a588800..7b0ff2ce6 100644 --- a/include/items.php +++ b/include/items.php @@ -1167,7 +1167,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) { ); $datarray['last-child'] = 1; } - if(($contact['network'] === 'feed') || (! strlen($contact['poll']))) { + if(($contact['network'] === 'feed') || (! strlen($contact['notify']))) { // one way feed - no remote comment ability $datarray['last-child'] = 0; } @@ -1223,7 +1223,7 @@ function consume_feed($xml,$importer,&$contact, &$hub, $datedir = 0) { $datarray['last-child'] = 1; } - if(($contact['network'] === 'feed') || (! strlen($contact['poll']))) { + if(($contact['network'] === 'feed') || (! strlen($contact['notify']))) { // one way feed - no remote comment ability $datarray['last-child'] = 0; }