appnetpost: Avoiding a php warning