Fix page title.
authorDavid Thompson <davet@gnu.org>
Wed, 1 Oct 2014 14:21:48 +0000 (10:21 -0400)
committerDavid Thompson <davet@gnu.org>
Wed, 1 Oct 2014 14:21:48 +0000 (10:21 -0400)
* CRM/Memberdashboard/Page/MemberDashboard.php (run): Set page title
  after calling the superclass method.

CRM/Memberdashboard/Page/MemberDashboard.php

index 9551cd4c345b8405cb4a2c010f7c549223be8b96..dd6bc8c4c351f54300a4a0d55ead08f1c91aabfe 100644 (file)
@@ -54,11 +54,11 @@ class CRM_Memberdashboard_Page_MemberDashboard extends CRM_Core_Page {
   }
 
   function run() {
-    CRM_Utils_System::setTitle($this->pageTitle());
-
     $this->assign('contact', $this->contact);
     $this->assign('dashboardElements', $this->buildDashboard());
 
     parent::run();
+
+    CRM_Utils_System::setTitle($this->pageTitle());
   }
 }