includes/namespaces/user.php
changeset 1062 3780b5464778
parent 986 aa6f26d96577
child 1081 745200a9cc2a
--- 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;
     }