Just added some forgotten escaping.

This commit is contained in:
Michael Vogel 2015-04-10 00:54:42 +02:00
parent 662fd84891
commit 489af0d55d

View 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;
}