* fix an error on display user account information.

This commit is contained in:
Catouse
2016-04-21 16:03:36 +08:00
parent 05c5c2e50a
commit dd3b0bbb5e
+1 -1
View File
@@ -21,7 +21,7 @@ class myModel extends model
*/
public function setMenu()
{
$this->lang->my->menu->account = sprintf($this->lang->my->menu->account, $this->app->user->realname);
$this->lang->my->menu->account = sprintf($this->lang->my->menu->account['link'], $this->app->user->realname);
/* Adjust the menu order according to the user role. */
$role = $this->app->user->role;