I'm again working with someone else's code and I have a problem I
believe is in the section below. The problem is, I can't seem to
understand what the "IF" conditions are saying here. The problem I have
is with the second condition. To me this reads in psudo code:
If( X and (if Y exists, then W otherwise Z))
Does this work? If so how is it evaluated?
Here is the actual code.
<code>
if ($tostaf && ($reply->comment ? $config->send_comment_staf :
$config->send_emailreply_staf))
{
$to=array();
$vars["ticketurl"]=$config->webpath."ticket.php?id=".$ticket->id;
if ($reply->comment) {
$condition=" AND followups.employee<>'$reply->employee'";
}
</code>
Thanks,
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php