]> git.mxchange.org Git - friendica.git/commitdiff
Remove useless intval() calls in mod/network
authorHypolite Petovan <mrpetovan@gmail.com>
Mon, 9 Apr 2018 13:19:49 +0000 (09:19 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 9 Apr 2018 13:19:49 +0000 (09:19 -0400)
mod/network.php

index c8a21aecb0c7176fab4ad92aec9e6e2292f89c6f..26645eefdcd780e24f49ad89bd8e50d32a8aa3e5 100644 (file)
@@ -837,7 +837,7 @@ function networkThreadedView(App $a, $update, $parent)
                        WHERE `item`.`uid` = 0 AND `item`.$ordering < ? AND `item`.$ordering > ?
                                AND NOT `contact`.`hidden` AND NOT `contact`.`blocked`" . $sql_tag_nets,
                        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);
 
                $data = dba::inArray($items);