prova così:

Codice PHP:
if((!isset($_GET['action'])) || ($_GET['action'] == ''))