Just added some forgotten escaping.
This commit is contained in:
parent
662fd84891
commit
489af0d55d
|
@ -469,7 +469,7 @@ function network_content(&$a, $update = 0) {
|
||||||
$content = "";
|
$content = "";
|
||||||
|
|
||||||
if ($cid) {
|
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)
|
if ($contact)
|
||||||
$content = "@".$contact[0]["nick"]."+".$cid;
|
$content = "@".$contact[0]["nick"]."+".$cid;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue