From 489af0d55d1e74bb61759d6211b1abaee2faee85 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 10 Apr 2015 00:54:42 +0200 Subject: [PATCH] Just added some forgotten escaping. --- mod/network.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5