Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MINOR Remove usage of deprecated array access on SQLQuery in SiteTree…

…FolderExtension
  • Loading branch information...
commit 9f1668505b81363313b06f2cfd3cf9c059d2d44d 1 parent c6cca21
@chillu chillu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  code/model/SiteTreeFolderExtension.php
View
2  code/model/SiteTreeFolderExtension.php
@@ -28,7 +28,7 @@ public function getUnusedFilesListFilter() {
$fieldName = $relName .'ID';
$query = singleton($className)->extendedSQL("$fieldName > 0");
$query->distinct = true;
- $query->select = array($fieldName);
+ $query->select(array($fieldName));
$usedFiles = array_merge($usedFiles, $query->execute()->column());
} elseif($joinClass == 'Folder') {
Please sign in to comment.
Something went wrong with that request. Please try again.