Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Get last inserted id from Chat
- $lastid = $this->Chat->getLastInsertId();
- // Set the issue id to be updated
- $this->Chat->Issue->id = $issueid;
- // Update Issue table
- $this->Chat->Issue->saveField('chat_id', $lastid);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement