diff --git a/intaro.intarocrm/install/index.php b/intaro.intarocrm/install/index.php index 5af8289f..373dc2e5 100755 --- a/intaro.intarocrm/install/index.php +++ b/intaro.intarocrm/install/index.php @@ -301,7 +301,6 @@ class intaro_intarocrm extends CModule { COption::SetOptionString($this->MODULE_ID, $this->CRM_PAYMENT_TYPES, serialize($paymentTypesArr)); COption::SetOptionString($this->MODULE_ID, $this->CRM_PAYMENT_STATUSES, serialize($paymentStatusesArr)); COption::SetOptionString($this->MODULE_ID, $this->CRM_PAYMENT, serialize($paymentArr)); - COption::SetOptionString($this->MODULE_ID, $this->CRM_ORDER_HISTORY_DATE, date('Y-m-d H:i:s')); // generate updated select inputs $input = array(); @@ -705,6 +704,7 @@ class intaro_intarocrm extends CModule { COption::SetOptionString($this->MODULE_ID, $this->CRM_ORDER_LAST_ID, 0); COption::SetOptionString($this->MODULE_ID, $this->CRM_ORDER_DISCHARGE, 0); COption::SetOptionString($this->MODULE_ID, $this->CRM_ORDER_FAILED_IDS, serialize(array())); + COption::SetOptionString($this->MODULE_ID, $this->CRM_ORDER_HISTORY_DATE, date('Y-m-d H:i:s')); $APPLICATION->IncludeAdminFile( GetMessage('MODULE_INSTALL_TITLE'), @@ -937,7 +937,7 @@ class intaro_intarocrm extends CModule { $dateAgent->add($intAgent); CAgent::AddAgent( "CCatalogExport::PreGenerateExport(" . $PROFILE_ID . ");", "catalog", "N", 86400, $dateAgent->format('d.m.Y H:i:s'), // date of first check - "Y", // àãåíò àêòèâåí + "Y", // agent is active $dateAgent->format('d.m.Y H:i:s'), // date of first start 30 ); diff --git a/intaro.intarocrm/install/version.php b/intaro.intarocrm/install/version.php old mode 100755 new mode 100644 index 512a0bec..d43cd123 --- a/intaro.intarocrm/install/version.php +++ b/intaro.intarocrm/install/version.php @@ -1,5 +1,5 @@ - "0.4.3", - "VERSION_DATE" => "2013-10-29 15:28:00", + "0.4.3", + "VERSION_DATE" => "2013-10-29 15:28:00", ); \ No newline at end of file