Here is some food for thought: If you host a potluck dinner in Arizona, you could be breaking the law.

Seriously.

The anti-potluck legal situation started years ago when the state passed a law that subjected all served food to safety regulations and health department inspections, according to the Daily Signal.

The lawmakers explicitly exempted potlucks and other “noncommercial social events” if they occurred at a workplace, but forgot to add schools, churches and homes.

As a result, a potluck host could be fined or even be arrested if someone complains, according to the Associated Press.

The loophole has gone unnoticed for the most part until a couple of years ago in Apache Junction when, you guessed it, someone decided to complain.

A resident of a mobile home park who was aware of the statute complained to authorities about potlucks being held by neighbors, according to AzCentral.

Pinal County deputies shut down the potluck, and that opened up a whole can of worms for State Rep. Kelly Townsend.

"I think it was a legislative oversight. We have those all the time. We go through the statutes and they're called technical corrections, so this is kind of like a technical correction, that it wasn't intended on shutting down all potlucks," Townsend told AzCentral.com.

Earlier this month, Townsend got the state's House Committee on Government and Higher Education to approve legislation saying that a potluck doesn't have to occur at work to avoid being shut down by health officials, HavasuNews.com reports.

Townsend isn't worried that closing the loophole will increase the amount of people getting sick.

"In the case of a potluck, the word 'luck' says it all," she told the website. "So it's up to the person to take their chances, and if they want to take part of the potluck, it's up to them."

The Arizona House of Representatives is voting on Townsend's legislation today. If approved, it will then go to the Senate.

PHOTO GALLERY Mealbreakers