HelpSpot Help Desk Software | HelpSpot Blog | HelpSpot Support

Check if public note is from staff or customer


Is there a way to check if an $event (within request.check.tpl.php) is from the customer or staff?


Yes, there’s an array key for xPerson, if this is 0 it’s a customer, if it’s greater than 0 it’s a staffer.


$event[‘xPerson’] did the trick. Thanks!