From 08d75a3719ff91fd23bc94dc11ca75cef323eb69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20=C3=96man?= Date: Mon, 16 Jun 2008 20:52:37 +0000 Subject: [PATCH] Make sure we always tag a recording with a username --- webui/webui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/webui.c b/webui/webui.c index 6523aaad..00213073 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;