Plugin Directory

Changeset 1757944


Ignore:
Timestamp:
11/03/2017 11:48:37 AM (8 years ago)
Author:
crmaddon
Message:

judge modify

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp2act/trunk/CRMAddon-Teaser.php

    r1757873 r1757944  
    827827
    828828                        if(isset($sendField['what_he_wants']) && $sendField['what_he_wants'] !='no'){
    829                         $str = '{"startTime":"'.$activityStartTime.'","endTime":"'.$activityEndTime.'","activityTypeName":"Call","scheduledBy":"'.$recordOwner.'","scheduledFor":"'.$retContactInfo->{'fullName'}.'","details":"'.$sendField['comment'].'","contacts":[{"id":"'.$contactId.'","displayName":"'.$retContactInfo->{'fullName'}.'"}],"groups":[{"id":"'.$groupInfo->{'id'}.'","name":"'.$groupInfo->{'recordOwner'}.'"}]}';
    830                         $statusCode = $this->wp2act_createActivity($str);
     829                            $str = '{"startTime":"'.$activityStartTime.'","endTime":"'.$activityEndTime.'","activityTypeName":"Call","scheduledBy":"'.$recordOwner.'","scheduledFor":"'.$retContactInfo->{'fullName'}.'","details":"'.$sendField['comment'].'","contacts":[{"id":"'.$contactId.'","displayName":"'.$retContactInfo->{'fullName'}.'"}],"groups":[{"id":"'.$groupInfo->{'id'}.'","name":"'.$groupInfo->{'recordOwner'}.'"}]}';
     830                            $statusCode = $this->wp2act_createActivity($str);
    831831                        }else{
    832                             $statusCode = 'ok';
     832                            if($statusCode != 'create'){
     833                                $statusCode = 'ok';
     834                            }
    833835                        }
    834836                    }
Note: See TracChangeset for help on using the changeset viewer.