X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fmood.php;h=4ddf16e34c23195191a9e64dca158e3b31f0ebb2;hb=6a8a36f12d00f35004fbb034972ca87dd1a3c4f5;hp=f804af0c00819ec0d9ed93714867e44b49396502;hpb=293436e5fd5110220c969513858dbb979f1f35d3;p=friendica.git diff --git a/mod/mood.php b/mod/mood.php index f804af0c00..4ddf16e34c 100644 --- a/mod/mood.php +++ b/mod/mood.php @@ -36,7 +36,7 @@ function mood_init(&$a) { intval($parent), intval($uid) ); - if(count($r)) { + if(dbm::is_result($r)) { $parent_uri = $r[0]['uri']; $private = $r[0]['private']; $allow_cid = $r[0]['allow_cid'];