Fixed href in plugins with centralized node

Former-commit-id: 03fa2c15b7a9fb14cdc12499c3bc2a204bae3cd5
This commit is contained in:
Daniel Maya 2019-02-26 12:23:46 +01:00
parent 5812a8bdaa
commit 45419fbfb0
1 changed files with 5 additions and 3 deletions

View File

@ -634,9 +634,8 @@ if (($create != '') || ($view != '')) {
}
// Update plugin
// Update plugin.
if (isset($_GET['update_plugin'])) {
// if modified any parameter
$plugin_id = get_parameter('update_plugin', 0);
$plugin_name = get_parameter('form_name', '');
$plugin_description = get_parameter('form_description', '');
@ -978,7 +977,10 @@ if (($create != '') || ($view != '')) {
echo '<tr>';
echo "<td class=$tdcolor>";
echo "<b><a href='index.php?sec=$sec&sec2=godmode/servers/plugin&view=".$row['id'].'&tab=plugins&pure='.$config['pure']."'>";
if ($management_allowed) {
echo "<b><a href='index.php?sec=$sec&sec2=godmode/servers/plugin&view=".$row['id'].'&tab=plugins&pure='.$config['pure']."'>";
}
echo $row['name'];
echo '</a></b></td>';
echo "<td class=$tdcolor>";