1
0
mirror of synced 2025-01-31 07:11:42 +03:00

comment lines for sites support

This commit is contained in:
Grisha Pomadchin 2013-11-12 15:22:35 +04:00
parent f22f5d310c
commit 317b580d8a
2 changed files with 5 additions and 5 deletions

View File

@ -435,9 +435,9 @@ class intaro_intarocrm extends CModule {
// empty == select all // empty == select all
$orderSites = array(); $orderSites = array();
foreach ($_POST[$this->CRM_ORDER_SITES] as $site) { /* foreach ($_POST[$this->CRM_ORDER_SITES] as $site) {
$orderSites[] = htmlspecialchars(trim($site)); $orderSites[] = htmlspecialchars(trim($site));
} } */
// form correct url // form correct url
$api_host = parse_url($api_host); $api_host = parse_url($api_host);

View File

@ -98,9 +98,9 @@ if (isset($_POST['Update']) && ($_POST['Update'] == 'Y')) {
// if empty so select all? or exception --not obligatory // if empty so select all? or exception --not obligatory
$orderSites = array(); $orderSites = array();
foreach ($_POST[$CRM_ORDER_SITES] as $site) { /*foreach ($_POST[$CRM_ORDER_SITES] as $site) {
$orderSites[] = htmlspecialchars(trim($site)); $orderSites[] = htmlspecialchars(trim($site));
} }*/
if($api_host && $api_key) { if($api_host && $api_key) {
$api = new IntaroCrm\RestApi($api_host, $api_key); $api = new IntaroCrm\RestApi($api_host, $api_key);