mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
Compare commits
No commits in common. "7370c85dae9963eb52d097a4e020c7b25a7cc889" and "a29de8040899c091e7021bde182cda7cba69326b" have entirely different histories.
7370c85dae
...
a29de80408
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user