Skip to content

Commit 7a72112

Browse files
committed
Fix file picker at override all
1 parent 2fe8c8b commit 7a72112

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/Contao/View/Contao2BackendView/Widget/FileTreeOrder.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
namespace ContaoCommunityAlliance\DcGeneral\Contao\View\Contao2BackendView\Widget;
2525

26+
use Contao\Validator;
27+
2628
/**
2729
* This widget is a supporting widget to store the file tree orderings.
2830
*
@@ -70,12 +72,11 @@ protected function getSerializedValue()
7072
}
7173
$files = [];
7274
foreach ($this->varValue as $binUuid) {
73-
if (\Contao\Validator::isBinaryUuid($binUuid)) {
75+
if (Validator::isBinaryUuid($binUuid)) {
7476
$files[] = $binUuid;
7577
}
7678
}
7779

78-
//return \implode(',', \array_map('\Contao\StringUtil::binToUuid', $this->varValue));
7980
return \implode(',', \array_map('\Contao\StringUtil::binToUuid', $files));
8081
}
8182
}

0 commit comments

Comments
 (0)