X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fsuggest.php;h=00033b2d246feba8b84f961dc4edf4a8587844aa;hb=75be187216255c7c45421cb5f9596118a954f878;hp=b8ca423c5ae2a0a0a5acbad99351bfce946e6689;hpb=8aa25523721303b6883e1a793f20997f8a33ec0a;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php old mode 100755 new mode 100644 index b8ca423c5a..00033b2d24 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -9,20 +9,50 @@ 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']) { + //