kopia lustrzana https://github.com/friendica/friendica
Fix notice "Undefined index: openRegistrations"
rodzic
f16bf04f54
commit
c494b158c8
|
@ -720,7 +720,7 @@ class PortableContact
|
|||
|
||||
$server['register_policy'] = Register::CLOSED;
|
||||
|
||||
if (is_bool($nodeinfo['openRegistrations']) && $nodeinfo['openRegistrations']) {
|
||||
if (isset($nodeinfo['openRegistrations']) && is_bool($nodeinfo['openRegistrations']) && $nodeinfo['openRegistrations']) {
|
||||
$server['register_policy'] = Register::OPEN;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue