mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
elofgren: VAR FIX: Initialize 'result' in ThumbnailStripField::getflash()
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@41947 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
2706c3e668
commit
9f633edd49
@ -98,7 +98,7 @@ class ThumbnailStripField extends FormField {
|
||||
$height = Image::$strip_thumbnail_height - 10;
|
||||
|
||||
$flashObjects = DataObject::get("File", "ParentID IN (" . implode(', ', $folderList) . ") AND Filename LIKE '%.swf'");
|
||||
|
||||
$result = '';
|
||||
if($flashObjects) {
|
||||
$result .= '<ul>';
|
||||
foreach($flashObjects as $flashObject) {
|
||||
|
Loading…
Reference in New Issue
Block a user