A Denny’s restaurant shift manager inadvertently gave a Border Patrol agent paying for his meal a receipt with the phrase “Border A– Whole” after sharing the joke with a cook.

The incident occurred in a Denny’s in Douglas, Ariz., according to a report in the Douglas Dispatch.

The manager apparently typed the phrase into the cash register, which produced the receipt displaying the insult. She then shared it with the cook. When the agent stepped up to pay for his grilled chicken, however, the employee mistakenly handed him the section of the receipt that had the misspelled slur printed on it.

According to the local paper, the incident so angered the agent he shot an e-mail about it to 450 Border Patrol agents at the Douglas station.

“As members of this community, Border Patrol agents are encouraged to patronize local businesses in support of the local economy,” said Andy Adame, a spokesman for the Border Patrol’s Tucson sector. “And it’s unfortunate that an incident like this has happened at a reputable establishment.”

Some agents reportedly have threatened to boycott Denny’s in response to the incident. The shift manager lost her job over the prank.

“This is an isolated incident and it does not reflect how the Denny’s brand or the owner of Denny’s in Douglas feels about law enforcement,” Eddie Rivera, owner of Denny’s, Kentucky Fried Chicken and Taco Bell in Douglas told the Dispatch.

Angelica Rivera, the general manager for Denny’s, was equally contrite.

“This is not how you treat people, whether they are Border Patrol or the average citizen,” she is quoted as saying. “I’m not from Douglas and so I know what it’s like to be an outsider. I try to be very welcoming to everyone in my restaurant, including the Border Patrol who many are from out of town.”

Note: Read our discussion guidelines before commenting.