]> git.mxchange.org Git - friendica.git/commitdiff
no comment box if no notify, not no poll
authorFriendika <info@friendika.com>
Wed, 26 Jan 2011 02:25:04 +0000 (18:25 -0800)
committerFriendika <info@friendika.com>
Wed, 26 Jan 2011 02:25:04 +0000 (18:25 -0800)
include/items.php

index b6a5888001496c78bfa4fd39733fc7b011772a12..7b0ff2ce6b09e0fbd936012674c6f1fe61585335 100644 (file)
@@ -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;
                                }