Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly generate ticket_link for message confirm #989

Merged
merged 1 commit into from Jun 5, 2014

Conversation

greezybacon
Copy link
Contributor

Previously, the recipient available to the template was not associated with a ticket, and so did not have a ticket_link property.

Fixes #794

if (!isset($this->user))
$this->user = User::lookup($this->getUserId());
if (!isset($this->user)) {
$ticket = $this->getTicket();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if (!$ticket = $this->getTicket())
    return null;

protich added a commit that referenced this pull request Jun 5, 2014
Correctly generate ticket_link for message confirm

Reviewed-By: Peter Rotich <peter@osticket.com>
@protich protich merged commit 8f37662 into osTicket:develop Jun 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New Message Auto-Response does not contain correct ticket link
2 participants