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