]> git.mxchange.org Git - friendica.git/commitdiff
Just added some forgotten escaping.
authorMichael Vogel <icarus@dabo.de>
Thu, 9 Apr 2015 22:54:42 +0000 (00:54 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 9 Apr 2015 22:54:42 +0000 (00:54 +0200)
mod/network.php

index c5b666fae23c530e12362f554564d42adb791285..fafee97c072f9c5cf90b42326afb461ede0c1c30 100644 (file)
@@ -469,7 +469,7 @@ function network_content(&$a, $update = 0) {
                $content = "";
 
                if ($cid) {
-                       $contact = q("SELECT `nick` FROM `contact` WHERE `id` = %d AND `uid` = %d AND `forum`", $cid, local_user());
+                       $contact = q("SELECT `nick` FROM `contact` WHERE `id` = %d AND `uid` = %d AND `forum`", intval($cid), intval(local_user()));
                        if ($contact)
                                $content = "@".$contact[0]["nick"]."+".$cid;
                }