Skip to content
Snippets Groups Projects
Commit dc9ba36a authored by totten's avatar totten
Browse files

Fix upgrade warning

parent 4fba6b06
Branches
Tags
No related merge requests found
......@@ -410,7 +410,7 @@ function afform_civicrm_alterMenu(&$items) {
foreach ($afforms as $name => $meta) {
if (!empty($meta['server_route'])) {
$items[$meta['server_route']] = [
'title' => $meta['title'],
'title' => $meta['title'] ?? NULL,
'page_callback' => 'CRM_Afform_Page_AfformBase',
'page_arguments' => 'afform=' . urlencode($name),
'access_arguments' => [["@afform:$name"], 'and'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment