X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=00033b2d246feba8b84f961dc4edf4a8587844aa;hb=75be187216255c7c45421cb5f9596118a954f878;hp=aedf3fd46af94386716f432692f600688323c2a6;hpb=014c91431e7796f9c5394efaae507837fe5c168b;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index aedf3fd46a..00033b2d24 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -9,54 +9,112 @@ 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']) { + //