Skip to content

A free open source IT asset/license management system

Switched to getFullNameAttribute() from fullName() in User Presenter

snipebfd674b622d0
diff --git a/app/Presenters/UserPresenter.php b/app/Presenters/UserPresenter.php
index 080a2d10e9..f70ddf8af6 100644
--- a/app/Presenters/UserPresenter.php
+++ b/app/Presenters/UserPresenter.php
@@ -433,7 +433,7 @@ class UserPresenter extends Presenter
*/
public function nameUrl()
{
- return (string) link_to_route('users.show', $this->fullName(), $this->id);
+ return (string) link_to_route('users.show', $this->getFullNameAttribute(), $this->id);
}
/**