Created
March 7, 2011 20:25
-
-
Save jmertic/859144 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//To get ID | |
$FollowUpMeeting->save(); | |
if( $FollowUpMeeting->parent_type == 'Contacts' && !empty($FollowUpMeeting->parent_id) ) | |
{ | |
//Get the current person | |
$person = new Contact(); | |
$person->retrieve($FollowUpMeeting->parent_id); | |
$FollowUpMeeting->set_accept_status($person,'none'); | |
$FollowUpMeeting->save(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment