From 4d42861b07cd1e577dfd33e4457cde4d57eebf1b Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Fri, 20 Jun 2014 16:06:20 +0400 Subject: [PATCH] event lock global fix --- intaro.intarocrm/classes/general/events/ICrmOrderEvent.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/intaro.intarocrm/classes/general/events/ICrmOrderEvent.php b/intaro.intarocrm/classes/general/events/ICrmOrderEvent.php index 9367cff2..0bc1adbf 100644 --- a/intaro.intarocrm/classes/general/events/ICrmOrderEvent.php +++ b/intaro.intarocrm/classes/general/events/ICrmOrderEvent.php @@ -57,6 +57,9 @@ class ICrmOrderEvent { if(isset($GLOBALS['INTARO_CRM_ORDER_ADD']) && $GLOBALS['INTARO_CRM_ORDER_ADD']) return; + + if(isset($GLOBALS['INTARO_CRM_ORDER_RESERVE']) && $GLOBALS['INTARO_CRM_ORDER_RESERVE']) + return; if(isset($GLOBALS['INTARO_CRM_FROM_HISTORY']) && $GLOBALS['INTARO_CRM_FROM_HISTORY']) return;