Skip to content

Commit

Permalink
fix: double $$
Browse files Browse the repository at this point in the history
  • Loading branch information
ferishili committed Nov 7, 2023
1 parent 92cd27b commit ffce222
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ public function fillRow($a_set)
/**
* @var $publication_usage_group PublicationUsageGroup
*/
$$publication_usage_group = PublicationUsageGroup::find($a_set['id']);
$this->tpl->setVariable('NAME', $$publication_usage_group->getName());
$this->tpl->setVariable('DISPLAY_NAME', $$publication_usage_group->getDisplayName());
$this->tpl->setVariable('DESCRIPTION', $$publication_usage_group->getDescription());
$publication_usage_group = PublicationUsageGroup::find($a_set['id']);
$this->tpl->setVariable('NAME', $publication_usage_group->getName());
$this->tpl->setVariable('DISPLAY_NAME', $publication_usage_group->getDisplayName());
$this->tpl->setVariable('DESCRIPTION', $publication_usage_group->getDescription());

$this->addActionMenu($$publication_usage_group);
$this->addActionMenu($publication_usage_group);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ protected function fillRow($a_set)
}
$group_name = '';
if (!is_null($publication_usage->getGroupId())) {
$$publication_usage_group = PublicationUsageGroup::find($publication_usage->getGroupId());
$group_name = $$publication_usage_group ? $$publication_usage_group->getName() : $group_name;
$publication_usage_group = PublicationUsageGroup::find($publication_usage->getGroupId());
$group_name = $publication_usage_group ? $publication_usage_group->getName() : $group_name;
}
$this->tpl->setVariable('GROUP_NAME', $group_name);

Expand Down

0 comments on commit ffce222

Please sign in to comment.