MINOR Removed argument to getDescendantIDList() in ThumbnailStripField that doesn't exist on the method

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@98390 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2010-02-08 03:09:59 +00:00 committed by Sam Minnee
parent b2d2220d22
commit d5b2d40123

View File

@ -112,7 +112,7 @@ class ThumbnailStripField extends FormField {
$folder = DataObject::get_by_id("Folder", (int) $_GET['folderID']); $folder = DataObject::get_by_id("Folder", (int) $_GET['folderID']);
if($folder) { if($folder) {
$folderList = $folder->getDescendantIDList('Folder'); $folderList = $folder->getDescendantIDList();
array_unshift($folderList, $folder->ID); array_unshift($folderList, $folder->ID);
$whereSQL = "\"ParentID\" IN (" . implode(', ', $folderList) . ") AND \"Filename\" LIKE '%.swf'"; $whereSQL = "\"ParentID\" IN (" . implode(', ', $folderList) . ") AND \"Filename\" LIKE '%.swf'";