From 732b1f0a5794506ca3f7993678aeb0082f2bb93f Mon Sep 17 00:00:00 2001
From: Damian Mooyman <damian@silverstripe.com>
Date: Wed, 25 Jan 2017 18:03:18 +1300
Subject: [PATCH] BUG Fix reference to Install_deleteinstallfiles Fixes #1719

---
 code/Controllers/ContentController.php | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/code/Controllers/ContentController.php b/code/Controllers/ContentController.php
index 27c75ac5..14f0f985 100644
--- a/code/Controllers/ContentController.php
+++ b/code/Controllers/ContentController.php
@@ -491,7 +491,10 @@ HTML;
 			'Password' => Convert::raw2xml(Session::get('password')),
 			'UnsuccessfulFiles' => $unsuccessful
 		));
-		$content->setValue($data->renderWith('Install_deleteinstallfiles'));
+		$content->setValue($data->renderWith([
+			'type' => 'Includes',
+			'Install_deleteinstallfiles'
+		]));
 
 		return array(
 			"Title" => $title,