diff --git a/news.php b/news.php
index a47703b3a..e2a310139 100644
--- a/news.php
+++ b/news.php
@@ -92,12 +92,7 @@ if ($action == 'all' || $action == 'cat')
$sub_action = intval(varset($tmp[1],0));
}
-if($action == 'extend' && empty($sub_action)) // item not found, redirect to avoid messing up search-engine data.
-{
- $defaultUrl = e107::getUrl()->create('news/list/items');
- e107::getRedirect()->go($defaultUrl, null, 301);
- exit;
-}
+
@@ -172,12 +167,18 @@ if(vartrue($_GET['tag']) || substr($action,0,4) == 'tag=')
$newsfrom = intval(varset($_GET['page'],0));
}
-/*
-print_a(e_QUERY);
-echo "route= ".$newsRoute." ";
-echo "
action= ".$action." ";
-echo "
_GET= ".print_a($_GET,true);
-*/
+if(E107_DBG_PATH)
+{
+ echo "