Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > Project Tools > osTicket Bug Tracker > Bug

Issue Type Bug   Project osTicket Bug Tracker
Allow Spoofing Checkbox Doesn't Work
Category Unknown
Affected Version 1.6 Stable
Priority Unknown
Status Unconfirmed
Fixed Version (none)
Submitted 07-31-2011
Assigned Users (none) Tags (none)

issueid=261 07-31-2011 02:46 PM
Junior Member
Allow Spoofing Checkbox Doesn't Work

In the Settings->Preferences screen, there is a checkbox, "Allow Spoofing". This checkbox doesn't work. Anytime the Preferences screen is submitted, the checkbox is reset to a disabled state. Therefore, the only way you can enable spoofing is to do it manually in the database table and even then, if you later submit the Preferences screen, spoofing will be disabled.
Reply

08-05-2011 05:09 PM
Junior Member
 
I found the bug in the SQL statement in class.config.php. The line that reads:

spoof_default_smtp='.db_input(($var['default_smtp'] && isset($var['spoof_default_smtp']))?1:0)

needs to be changed to:

spoof_default_smtp='.db_input(($var['default_smtp_id'] && isset($var['spoof_default_smtp']))?1:0)
Reply

Issue Tools
Subscribe to this issue

All times are GMT -4. The time now is 08:54 PM.