Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to get GravityForms CapsuleCRM to work on PHP less than 5.3
if (0 !== $size && false !== $id) {
$this->update($entity, $id, $data);
} else {
$id = $this->create($entity, $data);
};
break;
case "create":
//create:
$id = $this->create($entity, $data);
//sleep(5);
break;
case "update":
//update:
$this->update($entity, $id, $data);
//sleep(5);
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.