From 0cd647f0d2f081de00d0c1802459285c2456c54d Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 27 Apr 2015 17:19:39 +0530 Subject: [PATCH] Set message after updating Relationship --- CRM/Contact/Form/Relationship.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Relationship.php b/CRM/Contact/Form/Relationship.php index e566de97b8..db02b89669 100644 --- a/CRM/Contact/Form/Relationship.php +++ b/CRM/Contact/Form/Relationship.php @@ -438,7 +438,10 @@ class CRM_Contact_Form_Relationship extends CRM_Core_Form { $this->ajaxResponse['reloadBlocks'] = array('#crm-contactinfo-content'); } } - $this->setMessage(ts('The relationship has been updated')); + if (empty($outcome['saved']) && !empty($update)) { + $outcome['saved'] = $update; + } + $this->setMessage($outcome); } // Create mode (could be 1 or more relationships) else { -- 2.25.1