MINOR: Fixed TableListField tests that don't set $_REQUEST['url'] (from r97127) (from r98153)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@102620 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-04-13 02:26:38 +00:00
parent 19f566675b
commit eba6c9b492
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ JS
$dataQuery = $this->getQuery();
// we don't limit when doing certain actions T
$methodName = array_pop(explode('/', $_REQUEST['url']));
$methodName = isset($_REQUEST['url']) ? array_pop(explode('/', $_REQUEST['url'])) : null;
if(!$methodName || !in_array($methodName,array('printall','export'))) {
$dataQuery->limit(array(
'limit' => $SQL_limit,