diff --git a/include/application.php b/include/application.php index b888bc4..17cc2cc 100644 --- a/include/application.php +++ b/include/application.php @@ -888,8 +888,7 @@ class Application { $aCells = array( print_date(mysqltimestamp_to_unixtimestamp($this->sSubmitTime)), - "iUserId\">". - "$oUser->sRealname", + $oUser->objectMakeLink(), $sVendor, $this->sName); diff --git a/include/user.php b/include/user.php index 3fbcd71..f4936d0 100644 --- a/include/user.php +++ b/include/user.php @@ -1043,6 +1043,18 @@ class User { return false; } + + function objectMakeUrl() + { + $sUrl = BASE."contact.php?iRecipientId=$this->iUserId"; + return $sUrl; + } + + function objectMakeLink() + { + $sLink = "objectMakeUrl()."\">$this->sRealname"; + return $sLink; + } } ?>