From 9c697f4f5243d17d1724f86b93487a4947473178 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 30 May 2012 22:12:26 +1200 Subject: [PATCH] BUGFIX Fixed regression in ListViewForm not showing listChildrenLink --- code/controllers/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index 9729d3c4..ceec2522 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -704,7 +704,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr 'LastEdited' => _t('SiteTree.LASTUPDATED', 'Last Updated'), ); - if($params) { + if(!$params) { $fields = array_merge(array('listChildrenLink' => ''), $fields); }