From: Andreas Ă–man Date: Mon, 16 Jun 2008 20:52:37 +0000 (+0000) Subject: Make sure we always tag a recording with a username X-Git-Tag: 2.12~993 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=08d75a3719ff91fd23bc94dc11ca75cef323eb69;p=thirdparty%2Ftvheadend.git Make sure we always tag a recording with a username --- diff --git a/webui/webui.c b/webui/webui.c index 6523aaad8..002130737 100644 --- a/webui/webui.c +++ b/webui/webui.c @@ -276,7 +276,7 @@ page_einfo(http_connection_t *hc, http_reply_t *hr, pvrr = pvr_get_by_entry(e); if((http_arg_get(&hc->hc_req_args, "rec")) != NULL) { - pvrr = pvr_schedule_by_event(e, hc->hc_username); + pvrr = pvr_schedule_by_event(e, hc->hc_username ?: "anonymous"); } else if(pvrr && (http_arg_get(&hc->hc_req_args, "clear")) != NULL) { pvr_clear(pvrr); pvrr = NULL;