Skip to content

Commit

Permalink
[#130] Fix Deprecated function CRM_Core_Page::assign_by_ref, use assign
Browse files Browse the repository at this point in the history
  • Loading branch information
jensschuppe committed Jun 4, 2024
1 parent 01eccfa commit c74fe2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Eck/Page/Entity/TabHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static function build(&$page): ?array {
$tabs = self::process($page) ?? [];
$page->set('tabHeader', $tabs);
}
$page->assign_by_ref('tabHeader', $tabs);
$page->assign('tabHeader', $tabs);
/** @var array<string, array<mixed>> $tabs */
CRM_Core_Resources::singleton()
->addScriptFile(
Expand Down

0 comments on commit c74fe2a

Please sign in to comment.