X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffsuggest.php;h=6b1cbd7533be8ca44f6e9ce19c32609cdbf74490;hb=dbf1f9efcd929894864262fb44bce0cafe7aad9e;hp=9ef8f4c551b146c2e366afd4601c1c8701805b7e;hpb=4bee1859be5fbf46ecc19728a908e31b4e9b09b6;p=friendica.git diff --git a/mod/fsuggest.php b/mod/fsuggest.php index 9ef8f4c551..6b1cbd7533 100644 --- a/mod/fsuggest.php +++ b/mod/fsuggest.php @@ -52,7 +52,7 @@ function fsuggest_post(&$a) { ); if(count($r)) { $fsuggest_id = $r[0]['id']; - q("UPDATE `fsuggest` SET `note` = '%s' WHERE `id` = %d AND `uid` = %d LIMIT 1", + q("UPDATE `fsuggest` SET `note` = '%s' WHERE `id` = %d AND `uid` = %d", dbesc($note), intval($fsuggest_id), intval(local_user()) @@ -108,4 +108,4 @@ function fsuggest_content(&$a) { $o .= ''; return $o; -} \ No newline at end of file +}