fix for multiurl using the currentUrlId and not always 1 refs BT#14572

pull/2585/head
Nicolas Ducoulombier 8 years ago
parent 5dbc14cca3
commit 163b788b0a
  1. 5
      main/inc/lib/plugin.class.php

@ -682,8 +682,9 @@ class Plugin
$subkey .= $userFilter;
break;
}
}
}
$currentUrlId = api_get_current_access_url_id();
$attributes = [
'variable' => 'show_tabs',
'subkey' => $subkey,
@ -693,7 +694,7 @@ class Plugin
'title' => $tabName,
'comment' => $url,
'subkeytext' => $subkeytext,
'access_url' => 1,
'access_url' => $currentUrlId,
'access_url_changeable' => 1,
'access_url_locked' => 0,
];

Loading…
Cancel
Save