Oh this is nasty. But the proposed solution of making admin_id a singleton is weird.

The real fix is don't pass in a temporary to the sanitize function.