That sounds like an application bug at a deeper level.
Make sure you're developing with register_globals = Off (php.ini) so there's no other $mngID variable coming from somewhere. Also eliminate any classes / functions where you've used the keyword "global"
That's a general answer. More I can't say without seeing code / application design.