mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
don't fail if nothing changes
This commit is contained in:
parent
8dfdc13b28
commit
2db45306e2
1 changed files with 3 additions and 0 deletions
|
@ -87,6 +87,9 @@ class AcquisitionActions extends Actions
|
|||
{
|
||||
$current_value = LBRY::statusYoutube($status_token);
|
||||
if ($current_value['data']['email'] == $email) {
|
||||
if ($channel_name === "" && $sync_consent === false) {
|
||||
Controller::redirect("/youtube/status/". $status_token);
|
||||
}
|
||||
$status = LBRY::editYoutube($status_token, $channel_name, null, $sync_consent);
|
||||
} else {
|
||||
$status = LBRY::editYoutube($status_token, $channel_name, $email, $sync_consent);
|
||||
|
|
Loading…
Add table
Reference in a new issue