BUG 11079 Notice when importing a process form Browse Library

Was added a validation in case that the variable was not defined. It makes the Notice don't shows anymore.
This commit is contained in:
Vera Osokina
2013-04-02 13:28:06 -04:00
parent b668474c8a
commit be38786447

View File

@@ -467,7 +467,7 @@ class Process extends BaseProcess
$this->setProTriReassigned( isset( $aData['PRO_TRI_REASSIGNED'] ) ? $aData['PRO_TRI_REASSIGNED'] : '' );
$this->setProShowDelegate( $aData['PRO_SHOW_DELEGATE'] );
$this->setProShowDynaform( $aData['PRO_SHOW_DYNAFORM'] );
$this->setProDerivationScreenTpl($aData['PRO_DERIVATION_SCREEN_TPL']);
$this->setProDerivationScreenTpl( isset( $aData['PRO_DERIVATION_SCREEN_TPL']) ? $aData['PRO_DERIVATION_SCREEN_TPL'] : '' );
// validate if the category exists
$criteria = new Criteria( 'workflow' );