this bug 5882 was solved, we added a way to validate it

This commit is contained in:
Carlos Pacha
2011-02-04 16:32:13 +00:00
parent 79042a4877
commit d25ef3b1c3
4 changed files with 77 additions and 6 deletions

View File

@@ -30,8 +30,8 @@
* @Param var action from POST request
*/
if( isset($_POST['action']) ){
$action = $_POST['action'];
if( isset($_POST['action']) || isset($_POST['function']) ){
$action = (isset($_POST['action']))?$_POST['action']:$_POST['function'];
} else {
throw new Exception('dbconnections Fatal error, No action defined!...');
}
@@ -50,7 +50,12 @@ G::LoadClass ('dbConnections');
global $_DBArray;
switch ( $action ){
case 'loadInfoAssigConnecctionDB':
$oStep = new Step();
return print ($oStep->loadInfoAssigConnecctionDB($_POST['PRO_UID'],$_POST['DBS_UID']));
break;
case 'showDbConnectionsList':
$oProcess = new processMap();