https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f0ae98
)
Fixes another warning because of count()'s lazyness. #2390
author
Roland Haeder
<roland@mxchange.org>
Sat, 12 Mar 2016 22:02:42 +0000
(23:02 +0100)
committer
Roland Haeder
<roland@mxchange.org>
Sat, 12 Mar 2016 22:02:42 +0000
(23:02 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/network.php
patch
|
blob
|
history
diff --git
a/mod/network.php
b/mod/network.php
index
a9f369a
..
202be04
100644
(file)
--- a/
mod/network.php
+++ b/
mod/network.php
@@
-792,7
+792,7
@@
function network_content(&$a, $update = 0) {
$parents_str = '';
$date_offset = "";
- if(
coun
t($r)) {
+ if(
dba::is_resul
t($r)) {
foreach($r as $rr)
if(! in_array($rr['item_id'],$parents_arr))
$parents_arr[] = $rr['item_id'];