From be38786447680e35e2f665d11f2de36e961229a4 Mon Sep 17 00:00:00 2001 From: Vera Osokina Date: Tue, 2 Apr 2013 13:28:06 -0400 Subject: [PATCH] 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. --- workflow/engine/classes/model/Process.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflow/engine/classes/model/Process.php b/workflow/engine/classes/model/Process.php index e8c7ec785..8c1336e46 100755 --- a/workflow/engine/classes/model/Process.php +++ b/workflow/engine/classes/model/Process.php @@ -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' );