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

Incorrect dept. autoresponse email on the form #575

Closed
kopitoshka opened this issue May 28, 2013 · 4 comments
Closed

Incorrect dept. autoresponse email on the form #575

kopitoshka opened this issue May 28, 2013 · 4 comments

Comments

@kopitoshka
Copy link

Hi,

I am using osticket 1.7.0 version. I have noticed a minor issue with selecting the active auto response email on the dept. form in admin area like this one:

http://www.examplecom/scp/departments.php?&id=1

There is a wrong comparison in the department.inc.php file. I hope it helps.

Thank you.

@greezybacon
Copy link
Contributor

Thanks for the write up. I don't have access to your help desk. Could you post a screenshot?

@greezybacon
Copy link
Contributor

@kopitoshka, I can't reproduce this. Can you explain the bug in more detail or post some screenshots?

@kopitoshka
Copy link
Author

Sorry for the delay in my response. Could you please check the line (195) in the file (/include/staff /department.inc.php):
$selected=($info['email_id'] && $id==$info['email_id'])?'selected="selected"':'';

I believe it should look like this:
$selected=($info['email_id'] && $id==$info['autoresp_email_id'])?'selected="selected"':'';

I made these changes to a copy of my osticket 1.7.0 and it works fine.

greezybacon pushed a commit to greezybacon/osTicket-1.7 that referenced this issue Aug 11, 2013
@greezybacon
Copy link
Contributor

Thanks for pointing this out. It's fixed in the release branch and will be included in the 1.7.1 release this week.

alpianon pushed a commit to alpianon/osTicket-1.7-ClientAuth-CCemails that referenced this issue Nov 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants