Merge pull request #305 from julceslauhub/master

BUG 9451 PM 2.0.43 testing 3 Notices en Triggers Wizard
This commit is contained in:
julceslauhub
2012-07-17 09:01:58 -07:00

View File

@@ -55,9 +55,12 @@ try {
$bReturnValue = true; $bReturnValue = true;
$displayMode = 'display:block'; $displayMode = 'display:block';
$methodreturnDescription = (trim(strtoupper($methodreturnA [3])) == strtoupper(G::LoadTranslation ( 'ID_NONE')) ) if (!isset($methodreturnA[3])) {
? G::LoadTranslation ( 'ID_NOT_REQUIRED') : $methodreturnA [3]; $methodreturnA[3] = G::LoadTranslation('ID_NONE');
$methodReturnLabel = isset ( $methodreturnA [3] ) ? $methodreturnDescription : $methodReturn; }
$methodreturnDescription = (trim(strtoupper($methodreturnA[3])) == strtoupper(G::LoadTranslation('ID_NONE')))
? G::LoadTranslation ( 'ID_NOT_REQUIRED') : $methodreturnA[3];
$methodReturnLabel = isset ( $methodreturnA[3] ) ? $methodreturnDescription : $methodReturn;
if ( (isset($methodreturnA[0]) && isset($methodreturnA[1])) if ( (isset($methodreturnA[0]) && isset($methodreturnA[1]))
&& (trim(strtoupper($methodreturnA[0]) ) != strtoupper(G::LoadTranslation ( 'ID_NONE')) ) ) { && (trim(strtoupper($methodreturnA[0]) ) != strtoupper(G::LoadTranslation ( 'ID_NONE')) ) ) {
$methodReturnLabelRequired = (trim( $methodreturnA[1] ) != "" ) $methodReturnLabelRequired = (trim( $methodreturnA[1] ) != "" )
@@ -161,4 +164,3 @@ try {
die ( $oException->getMessage () ); die ( $oException->getMessage () );
} }
unset ($_SESSION ['PROCESS']); unset ($_SESSION ['PROCESS']);