BUG 0000 edit option of dbConnx doesnt working well,it isnt recovering the pass

This issue was fixed and this option is recovering all the datas
This commit is contained in:
Carlos Pacha
2011-08-18 10:03:52 -04:00
parent 7e178cf4ef
commit f72729b052

View File

@@ -137,8 +137,8 @@ switch ( $action ){
if ($aFields['DBS_PORT'] == '0') {
$aFields['DBS_PORT'] = '';
}
$aFields['DBS_PASSWORD']=$dbs->getPassWithoutEncrypt($aFields['DBS_PASSWORD']);
$aFields['DBS_PASSWORD']=($aFields['DBS_PASSWORD'] == 'none') ? "": G::decrypt($aFields['DBS_PASSWORD'], $aFields['DBS_DATABASE_NAME']);
$aFields['DBS_PASSWORD']=$dbs->getPassWithoutEncrypt($aFields);
$aFields['DBS_PASSWORD']=($aFields['DBS_PASSWORD'] == 'none') ? "": $aFields['DBS_PASSWORD'];
$G_PUBLISH->AddContent('xmlform', 'xmlform', 'dbConnections/dbConnections_Edit', '', $aFields);
G::RenderPage('publish', 'raw');
break;