X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=bca2694d37360ebb9e7055114d91df6995eeca61;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=1a4dbc5a13c2e25ab380cdced9d0459bc3591102;hpb=65d752d03c102173dee86d9ef1cb39d5891c8f09;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index 1a4dbc5a13..bca2694d37 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -7,18 +7,20 @@ use Friendica\App; use Friendica\Content\ContactSelector; use Friendica\Content\Widget; use Friendica\Core\L10n; +use Friendica\Core\Renderer; use Friendica\Core\System; use Friendica\Database\DBA; use Friendica\Model\Contact; use Friendica\Model\GContact; use Friendica\Util\Proxy as ProxyUtils; -function suggest_init(App $a) { +function suggest_init(App $a) +{ if (! local_user()) { return; } - if (x($_GET,'ignore') && intval($_GET['ignore'])) { + if (!empty($_GET['ignore'])) { // Check if we should do HTML-based delete confirmation if ($_REQUEST['confirm']) { //