X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fsuggest.php;h=e07e9331146cd1ec8efa4840de23eeb3763d37dd;hb=f7597d42ad9ffeed1774e9957237e1366270fc36;hp=7a86d53a1dbccd533d2f505a24cd089c3dc70c85;hpb=d22b3a1d9c295f5545cc20e1af786cb79e6553a5;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php old mode 100755 new mode 100644 index 7a86d53a1d..e07e933114 --- 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']) { + //