Remove useless intval() calls in mod/network

This commit is contained in:
Hypolite Petovan 2018-04-09 09:19:49 -04:00
parent 7563adcc7d
commit 99b446eccc

View File

@ -837,7 +837,7 @@ function networkThreadedView(App $a, $update, $parent)
WHERE `item`.`uid` = 0 AND `item`.$ordering < ? AND `item`.$ordering > ? WHERE `item`.`uid` = 0 AND `item`.$ordering < ? AND `item`.$ordering > ?
AND NOT `contact`.`hidden` AND NOT `contact`.`blocked`" . $sql_tag_nets, AND NOT `contact`.`hidden` AND NOT `contact`.`blocked`" . $sql_tag_nets,
local_user(), TERM_OBJ_POST, TERM_HASHTAG, local_user(), TERM_OBJ_POST, TERM_HASHTAG,
intval(CONTACT_IS_SHARING), intval(CONTACT_IS_FRIEND), CONTACT_IS_SHARING, CONTACT_IS_FRIEND,
$top_limit, $bottom_limit); $top_limit, $bottom_limit);
$data = dba::inArray($items); $data = dba::inArray($items);