diff --git a/classes/LBRY_Daemon.php b/classes/LBRY_Daemon.php index 4d2beb5..2c3e42d 100644 --- a/classes/LBRY_Daemon.php +++ b/classes/LBRY_Daemon.php @@ -59,11 +59,11 @@ class LBRY_Daemon 'channel_new', array( 'channel_name' => $channel_name, - 'amount' => $bid_amount + 'amount' => floatval($bid_amount) ) ); error_log($result); - return null; + return json_decode($result)->result; } /** diff --git a/templates/options_page.php b/templates/options_page.php index dfaaedd..28d947f 100644 --- a/templates/options_page.php +++ b/templates/options_page.php @@ -20,9 +20,11 @@ $channel_list = $LBRY->daemon->channel_list();

Your Publishable Channels

- $value): ?> - - +

Looks like you haven't added any channels yet, feel free to do so below: