mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
fix unset index warning
This commit is contained in:
parent
befdd1c952
commit
03f529a572
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class ContentActions extends Actions
|
|||
Controller::redirect('/get');
|
||||
}
|
||||
return ['page/get', [
|
||||
'isSubscribed' => $_GET['email'] || in_array(Mailchimp::LIST_GENERAL_ID, Session::get(Session::KEY_MAILCHIMP_LIST_IDS, []))
|
||||
'isSubscribed' => (isset($_GET['email']) && $_GET['email']) || in_array(Mailchimp::LIST_GENERAL_ID, Session::get(Session::KEY_MAILCHIMP_LIST_IDS, []))
|
||||
]];
|
||||
}
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue