From c4ce5da2fea2528878b3f28a8955faa87c3bad01 Mon Sep 17 00:00:00 2001 From: Grisha Pomadchin Date: Thu, 19 Jun 2014 16:24:04 +0400 Subject: [PATCH] onBeforeOrderAccountNumberSet fix --- intaro.intarocrm/classes/general/events/ICrmOrderEvent.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/intaro.intarocrm/classes/general/events/ICrmOrderEvent.php b/intaro.intarocrm/classes/general/events/ICrmOrderEvent.php index c12dcb53..d33238dc 100644 --- a/intaro.intarocrm/classes/general/events/ICrmOrderEvent.php +++ b/intaro.intarocrm/classes/general/events/ICrmOrderEvent.php @@ -302,5 +302,7 @@ class ICrmOrderEvent { function onBeforeOrderAccountNumberSet($ID, $value) { if(isset($GLOBALS['ICRM_ACCOUNT_NUMBER']) && $GLOBALS['ICRM_ACCOUNT_NUMBER']) return $GLOBALS['ICRM_ACCOUNT_NUMBER']; + + return false; } } \ No newline at end of file