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
$fromname=$fromaddress Possible bug
fromname/fromaddress
Category Unknown
Affected Version 1.6 rc4
Priority Unknown
Status Not a Bug
Fixed Version (none)
Submitted 11-23-2008
Assigned Users (none) Tags (none)

issueid=105 11-23-2008 04:56 PM
Junior Member
$fromname=$fromaddress Possible bug
fromname/fromaddress

Hello All,

First, I did some searching and was not able to find this covered anywhere so I just wanted to point it out... anyways I was just looking at OSTicket to add some code to prevent OSTicket from going nuts when there is a bounce and this struck me as odd...

in class.misc.php line ~61
PHP Code:
function sendmail(...)
...
$fromname=$fromname?$fromname:$fromaddress;
... 
$fromname will always get set to itself even if it's null... that's not right is it?
All of my sense tells me that should be
PHP Code:
$fromname==$fromname?$fromname:$fromaddress
Thanks!
Reply

05-11-2009 04:24 AM
Issue Changed by peter
  • Status changed from Unconfirmed to Not a Bug

Issue Tools
Subscribe to this issue

All times are GMT -4. The time now is 02:31 PM.