Fixed title formatting in user pages
authorDan
Wed, 29 Jul 2009 11:49:08 -0400
changeset 1062 3780b5464778
parent 1061 4ef865b5f497
child 1063 46e08815594e
Fixed title formatting in user pages
includes/namespaces/user.php
--- a/includes/namespaces/user.php	Wed Jul 29 11:48:54 2009 -0400
+++ b/includes/namespaces/user.php	Wed Jul 29 11:49:08 2009 -0400
@@ -23,7 +23,7 @@
     
     if ( ( $this->title == str_replace('_', ' ', $this->page_id) || $this->title == $paths->nslist['User'] . str_replace('_', ' ', $this->page_id) ) || !$this->exists )
     {
-      $this->title = $lang->get('userpage_page_title', array('username' => $this->page_id));
+      $this->title = $lang->get('userpage_page_title', array('username' => str_replace('_', ' ', dirtify_page_id($this->page_id))));
       $this->cdata['name'] = $this->title;
     }