aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorAlexander Kampmann <programmer@nurfuerspam.de>2012-03-09 12:17:19 +0100
committerAlexander Kampmann <programmer@nurfuerspam.de>2012-03-09 12:17:19 +0100
commitaf34cf019c5742abadab19586f3931353d8d3ff8 (patch)
treee788b55ff2bbe256d62e517d04ef25e8630313b3 /mod/network.php
parentf84c191f8df126b95d8a41f70e785a9592018390 (diff)
parent42d622d6bfb5768205573cb6b149340d28f46886 (diff)
downloadvolse-hubzilla-af34cf019c5742abadab19586f3931353d8d3ff8.tar.gz
volse-hubzilla-af34cf019c5742abadab19586f3931353d8d3ff8.tar.bz2
volse-hubzilla-af34cf019c5742abadab19586f3931353d8d3ff8.zip
Merge branch 'master' of git://github.com/friendica/friendica
Diffstat (limited to 'mod/network.php')
-rwxr-xr-xmod/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/network.php b/mod/network.php
index 8da1561a0..27c6e315b 100755
--- a/mod/network.php
+++ b/mod/network.php
@@ -470,7 +470,7 @@ function network_content(&$a, $update = 0) {
if(count($r)) {
foreach($r as $rr)
- if(! array_key_exists($rr['item_id'],$parents_arr))
+ if(! in_array($rr['item_id'],$parents_arr))
$parents_arr[] = $rr['item_id'];
$parents_str = implode(', ', $parents_arr);