We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c71c55 + 2de9b8e commit f925f97Copy full SHA for f925f97
modules/publish/models/FormElement.php
@@ -571,7 +571,7 @@ public function getCollectionRole()
571
public function setCurrentCollectionId($setRoot = false)
572
{
573
if (! $setRoot) {
574
- $collectionRole = Opus_CollectionRole::fetchByOaiName($this->_collectionRole);
+ $collectionRole = Opus_CollectionRole::fetchByName($this->_collectionRole);
575
if (! is_null($collectionRole)) {
576
$rootCollection = $collectionRole->getRootCollection();
577
if (! is_null($rootCollection)) {
0 commit comments