]> git.mxchange.org Git - friendica.git/blobdiff - mod/suggest.php
Catch HTTPExceptions in App::runFrontend()
[friendica.git] / mod / suggest.php
index ed9f6e0f2191ed8d40ca36ce725b5ce705ca2ec8..7f1fe3386c139f297244f88f0ea45f2d23aba310 100644 (file)
@@ -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']) {
                        // <form> can't take arguments in its "action" parameter