use claim_id

This commit is contained in:
Lem Smyth 2022-02-14 11:08:09 -06:00
parent a00f979bf3
commit 5b7d6036b9

View file

@ -318,7 +318,7 @@ class LBRY_Admin
if ( $channel_list ) { if ( $channel_list ) {
foreach ( $channel_list as $channel ) { foreach ( $channel_list as $channel ) {
$selected = $this->options['default_lbry_channel'] === $channel->name; $selected = $this->options['default_lbry_channel'] === $channel->claim_id;
$options .= '<option value="' . esc_attr( $channel->claim_id ) . '"'; $options .= '<option value="' . esc_attr( $channel->claim_id ) . '"';
if ( $selected ) { if ( $selected ) {