Fixing a bug when the page GET variable is empty