X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsuggest.php;h=bca2694d37360ebb9e7055114d91df6995eeca61;hb=e281b23672e1bc88a60af4a5d961d999e6171628;hp=ed9f6e0f2191ed8d40ca36ce725b5ce705ca2ec8;hpb=bd972151478f40f73585519110700222a1931d44;p=friendica.git diff --git a/mod/suggest.php b/mod/suggest.php index ed9f6e0f21..bca2694d37 100644 --- a/mod/suggest.php +++ b/mod/suggest.php @@ -20,7 +20,7 @@ function suggest_init(App $a) return; } - if (x($_GET,'ignore') && intval($_GET['ignore'])) { + if (!empty($_GET['ignore'])) { // Check if we should do HTML-based delete confirmation if ($_REQUEST['confirm']) { //
can't take arguments in its "action" parameter @@ -77,6 +77,7 @@ function suggest_content(App $a) } $id = 0; + $entries = []; foreach ($r as $rr) {