Update manager.php

defined $uid in getUserGroupIds