Skip to content
Snippets Groups Projects
Commit b1f6ca3b authored by Jared Hancock's avatar Jared Hancock
Browse files

Merge pull request #412 from protich/issue/baseurl


Use config URL instead of THISPAGE

Reviewed-By: default avatarJared Hancock <jared@osticket.com>
parents fdabf274 af03ba55
No related branches found
No related tags found
No related merge requests found
......@@ -224,12 +224,11 @@ class osTicket {
function alertAdmin($subject, $message, $log=false) {
//Set admin's email address
if(!($to=$this->getConfig()->getAdminEmail()))
$to=ADMIN_EMAIL;
if (!($to = $this->getConfig()->getAdminEmail()))
$to = ADMIN_EMAIL;
//append URL to the message
$message.="\n\n".THISPAGE;
$message.="\n\n".$this->getConfig()->getBaseUrl();
//Try getting the alert email.
$email=null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment