aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-03-07 21:12:31 -0800
committerfriendica <info@friendica.com>2012-03-07 21:12:31 -0800
commit03b5e3aa0c99ce6c290156ddccc9cba6744f245d (patch)
tree9546744b108ec0d41a247f347446e2135dc5cee3 /mod
parent395a9530dcbca95b2f2c7dde9df21ee1981fa19f (diff)
downloadvolse-hubzilla-03b5e3aa0c99ce6c290156ddccc9cba6744f245d.tar.gz
volse-hubzilla-03b5e3aa0c99ce6c290156ddccc9cba6744f245d.tar.bz2
volse-hubzilla-03b5e3aa0c99ce6c290156ddccc9cba6744f245d.zip
reworked fix from unary for bug #323 (due to incorrect use of array_key_exists())
Diffstat (limited to 'mod')
-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);