X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=4399450eccf2a1330882886d10e9923bc820e383;hb=6d16c39b7eff0eb4e7283e2b768a0608752f4b7b;hp=aedf3fd46af94386716f432692f600688323c2a6;hpb=00c342e13d833fd215e5dc03a508e1abe660fe21;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index aedf3fd46a..4399450ecc 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -9,54 +9,111 @@ function suggest_init(&$a) { return; if(x($_GET,'ignore') && intval($_GET['ignore'])) { - q("insert into gcign ( uid, gcid ) values ( %d, %d ) ", - intval(local_user()), - intval($_GET['ignore']) - ); + // Check if we should do HTML-based delete confirmation + if($_REQUEST['confirm']) { + //