From cdca720d9abb9a8d388ac5f5118baf0cf8496860 Mon Sep 17 00:00:00 2001
From: fbsanchez <fborja.sanchez@artica.es>
Date: Mon, 25 Feb 2019 14:41:27 +0100
Subject: [PATCH] minor fix user_edig

Former-commit-id: 2e13b75edd5625fa2d1d6d9360d55a19f0992ac0
---
 pandora_console/godmode/servers/discovery.php | 15 ---------------
 pandora_console/operation/users/user_edit.php |  2 +-
 2 files changed, 1 insertion(+), 16 deletions(-)

diff --git a/pandora_console/godmode/servers/discovery.php b/pandora_console/godmode/servers/discovery.php
index 9606e296bf..41f7fd1ffc 100755
--- a/pandora_console/godmode/servers/discovery.php
+++ b/pandora_console/godmode/servers/discovery.php
@@ -96,21 +96,6 @@ foreach ($classes as $classpath) {
     include_once $classpath;
 }
 
-// Load enterprise wizards.
-if (enterprise_installed() === true) {
-    $enterprise_classes = glob(
-        $config['homedir'].'/'.ENTERPRISE_DIR.'/wizards/*.class.php'
-    );
-    foreach ($enterprise_classes as $classpath) {
-        $r = enterprise_include_once(
-            'wizards/'.basename($classpath)
-        );
-    }
-}
-
-// Combine class paths.
-$classes = array_merge($classes, $enterprise_classes);
-
 // Sort output.
 uasort($classes, 'cl_load_cmp');
 
diff --git a/pandora_console/operation/users/user_edit.php b/pandora_console/operation/users/user_edit.php
index 46ebe87999..3e3338ff96 100644
--- a/pandora_console/operation/users/user_edit.php
+++ b/pandora_console/operation/users/user_edit.php
@@ -600,7 +600,7 @@ $table->rowclass[] = '';
 $table->rowstyle[] = '';
 $table->data[] = $data;
 
-echo '<form name="user_mod" method="post" action="'.$url.'&amp;modified=1&amp;id='.$id.'&amp;pure='.$config['pure'].'">';
+echo '<form name="user_mod" method="post" action="'.ui_get_full_url().'&amp;modified=1&amp;id='.$id.'&amp;pure='.$config['pure'].'">';
 
 html_print_table($table);