Skip to content

Commit f925f97

Browse files
committed
Merge branch '4.7.0.2' of github.com:opus4/application into 4.7.0.2
2 parents 9c71c55 + 2de9b8e commit f925f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/publish/models/FormElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ public function getCollectionRole()
571571
public function setCurrentCollectionId($setRoot = false)
572572
{
573573
if (! $setRoot) {
574-
$collectionRole = Opus_CollectionRole::fetchByOaiName($this->_collectionRole);
574+
$collectionRole = Opus_CollectionRole::fetchByName($this->_collectionRole);
575575
if (! is_null($collectionRole)) {
576576
$rootCollection = $collectionRole->getRootCollection();
577577
if (! is_null($rootCollection)) {

0 commit comments

Comments
 (0)