diff --git a/www/index.php b/www/index.php index ba8012f..239b5c9 100644 --- a/www/index.php +++ b/www/index.php @@ -51,7 +51,9 @@ function send_html(): void if(isset($_REQUEST['cat']) && $_REQUEST['cat']<(count($categories)+count($special)+1) && $_REQUEST['cat']>=0){ settype($_REQUEST['cat'], 'int'); $category=$_REQUEST['cat']; - $canonical_query['cat'] = $category; + if($category !== count($categories)) { + $canonical_query[ 'cat' ] = $category; + } } $pages=1; $admin_approval = ''; @@ -116,7 +118,6 @@ function send_html(): void echo '
'._('I\'m not responsible for any content of websites linked here. 99% of darkweb sites selling anything are scams. Be careful and use your brain. I regularly receive E-Mails from people that were desperate to make money and fell for scammers, don\'t be one of them!').'
'; //update onions description form echo '