Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: webui api - ensure that owner is set for dvr_entry_create() call…
…, fixes #2908
  • Loading branch information
perexg committed Jun 1, 2015
1 parent dce5451 commit fa3b025
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/api_dvr.c
Expand Up @@ -145,6 +145,8 @@ api_dvr_entry_create
if (cfg) {
htsmsg_set_str(conf, "config_name", idnode_uuid_as_str(&cfg->dvr_id));

if (perm->aa_username)
htsmsg_set_str(conf, "owner", perm->aa_username);
if (perm->aa_representative)
htsmsg_set_str(conf, "creator", perm->aa_representative);

Expand Down

0 comments on commit fa3b025

Please sign in to comment.