fix a PHP warning when no data is sent in GET queries