From: Michael Vogel Date: Thu, 9 Apr 2015 22:54:42 +0000 (+0200) Subject: Just added some forgotten escaping. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=489af0d55d1e74bb61759d6211b1abaee2faee85;p=friendica.git Just added some forgotten escaping. --- diff --git a/mod/network.php b/mod/network.php index c5b666fae2..fafee97c07 100644 --- a/mod/network.php +++ b/mod/network.php @@ -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; }