-- CRM-11778 fix for Grant edit/view page title
authorRavish Nair <ravish@ravish.(none)>
Thu, 7 Mar 2013 15:02:16 +0000 (20:32 +0530)
committerRavish Nair <ravish@ravish.(none)>
Thu, 7 Mar 2013 15:02:16 +0000 (20:32 +0530)
CRM/Grant/Page/Tab.php

index 9404ed6627e2e3733b6fa113c6b4a124398d6594..2a4476a4fabaea800b16312592c9682f2d02f35c 100644 (file)
@@ -123,7 +123,7 @@ class CRM_Grant_Page_Tab extends CRM_Contact_Page_View {
       CRM_Contact_Page_View::checkUserPermission($this);
 
       // set page title
-      CRM_Contact_Page_View::setTitle($this->_contactId);
+      CRM_Utils_System::setTitle(ts('Grant by') .  ' ' . $displayName);
     }
     $this->assign('action', $this->_action);