trigger_error on genurl action parameter invalid value set

Notice developer through a trigger_error about unintentional 'action' genurl function parameter override if he doesn't specify a valid value.