comment lines for sites support
This commit is contained in:
parent
f22f5d310c
commit
317b580d8a
@ -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);
|
||||||
|
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user