You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Add local actions as the last item in the local tasks.
if (!empty($variables['action_links'])) {
$variables['tabs']['#primary'][] = array(
'#theme' => 'menu_local_actions',
'#menu_actions' => $variables['action_links'],
'#attributes' => $dropdown_attributes,
);
$variables['action_links'] = FALSE;
}
to:
// Add local actions as the last item in the local tasks.
if (!empty($variables['action_links'])) {
if (empty($variables['tabs']['#primary'])) {
$variables['tabs']['#primary'] = array();
}
$variables['tabs']['#primary'][] = array(
'#theme' => 'menu_local_actions',
'#menu_actions' => $variables['action_links'],
'#attributes' => $dropdown_attributes,
);
$variables['action_links'] = FALSE;
}
The text was updated successfully, but these errors were encountered:
php 7.1 sadness. The fix is to change this:
to:
The text was updated successfully, but these errors were encountered: