mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Fixed PHP notice in RebuildStaticCacheTask
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@68463 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
d9e9e5f348
commit
c4119ead33
@ -21,7 +21,7 @@ class RebuildStaticCacheTask extends Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if($_GET['urls']) $urls = $_GET['urls'];
|
if(!empty($_GET['urls'])) $urls = $_GET['urls'];
|
||||||
else $urls = $page->allPagesToCache();
|
else $urls = $page->allPagesToCache();
|
||||||
|
|
||||||
$this->rebuildCache($urls, true);
|
$this->rebuildCache($urls, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user