Compare commits

..

No commits in common. "7370c85dae9963eb52d097a4e020c7b25a7cc889" and "a29de8040899c091e7021bde182cda7cba69326b" have entirely different histories.

View File

@ -70,12 +70,6 @@ class GoogleSitemapController extends Controller
$class = $this->unsanitiseClassName($this->request->param('ID'));
$page = intval($this->request->param('OtherID'));
if ($page) {
if (!is_numeric($page)) {
return new HTTPResponse('Page not found', 404);
}
}
if (GoogleSitemap::enabled()
&& $class
&& ($page > 0)