mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merged revisions 46776 via svnmerge from
svn://svn.silverstripe.com/silverstripe/modules/cms/branches/2.2.0-privacy ........ r46776 | aoneil | 2007-12-14 09:49:36 +1300 (Fri, 14 Dec 2007) | 2 lines Fix ambiguous SQL ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@46788 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
6f2bc927ee
commit
14d802454d
@ -368,7 +368,7 @@ HTML;
|
||||
$brokenPageList = '';
|
||||
|
||||
if($fileList != "''") {
|
||||
$files = DataObject::get("File", "ID IN ($fileList)");
|
||||
$files = DataObject::get("File", "`File`.ID IN ($fileList)");
|
||||
if($files) {
|
||||
foreach($files as $file) {
|
||||
if($file instanceof Image) {
|
||||
|
Loading…
Reference in New Issue
Block a user