From c45d26df90366841638d3380caad29d1b5b4d515 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Sat, 15 Sep 2007 01:01:49 +0000 Subject: [PATCH] elofgren: VAR FIX: Initialize 'script' and use isset($brokenPageList) in AssetAdmin::deletefolder() to fix undefined variable errors. (merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41866 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/AssetAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/AssetAdmin.php b/code/AssetAdmin.php index 34eeb6f8..f6148f58 100755 --- a/code/AssetAdmin.php +++ b/code/AssetAdmin.php @@ -569,7 +569,7 @@ JS; public function deletefolder() { $script = ''; $ids = split(' *, *', $_REQUEST['csvIDs']); - + $script = ''; foreach($ids as $id) { if(is_numeric($id)) {