diff options
author | Simon L'nu <simon.lnu@gmail.com> | 2012-03-08 10:46:40 -0500 |
---|---|---|
committer | Simon L'nu <simon.lnu@gmail.com> | 2012-03-08 10:46:40 -0500 |
commit | bc3051e113245f518e40bb1196521c9fc4ab7bbc (patch) | |
tree | 8f1ef296d13b82a7e27a8eba183152292c885812 /mod | |
parent | d90c830332899629a6016f1767bb7dff7d0d56a9 (diff) | |
parent | 08b5ede5a18647655a0c89f0c40118e2259117be (diff) | |
download | volse-hubzilla-bc3051e113245f518e40bb1196521c9fc4ab7bbc.tar.gz volse-hubzilla-bc3051e113245f518e40bb1196521c9fc4ab7bbc.tar.bz2 volse-hubzilla-bc3051e113245f518e40bb1196521c9fc4ab7bbc.zip |
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master:
add links to /profiles, add some icons to diabook/icons, fixes in css
Update README
reworked fix from unary for bug #323 (due to incorrect use of array_key_exists())
* master:
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/network.php | 2 |
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); |