From 9d50c86eda69a92df4dac3f276ecad925bb17598 Mon Sep 17 00:00:00 2001 From: Carlos Pacha Date: Thu, 12 May 2011 12:27:13 -0400 Subject: [PATCH] BUG 6856 Error while downloading a pm library process curl_init is not definded improving the message to this function --- workflow/engine/classes/class.processes.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/workflow/engine/classes/class.processes.php b/workflow/engine/classes/class.processes.php index 087fd45a5..e97d33a92 100644 --- a/workflow/engine/classes/class.processes.php +++ b/workflow/engine/classes/class.processes.php @@ -3322,7 +3322,9 @@ class Processes { } if (!function_exists('curl_init')){ - throw ( new Exception (G::LoadTranslation('ID_CURLFUN_ISUNDEFINED')) );die(); + G::SendTemporalMessage ('ID_CURLFUN_ISUNDEFINED', "warning",'LABEL','','100%',''); + G::header('location: ../processes/processes_Library'); + die(); } $ch = curl_init();