JustPaste.it

--- template.php
+++ template.php
@@ -19,7 +19,7 @@
// Move the local actions into place of the secondary tabs, for now.
if (is_array($variables['action_links'])) {
foreach ($variables['action_links'] as $link) {
- $variables['tabs2']['#secondary'][] = $link;
+ $variables['tabs2']['#secondary'] = [$link];
$variables['tabs2']['#theme'] = 'menu_local_tasks';
}
$variables['action_links']['#access'] = FALSE;