Merge pull request #7689 from annando/fix-notice

Fix notice "Undefined index: openRegistrations"
Bu işleme şunda yer alıyor:
Philipp 2019-10-01 21:40:59 +02:00 işlemeyi yapan: GitHub
işleme c399890f6f
Veri tabanında bu imza için bilinen anahtar bulunamadı
GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme

Dosyayı Görüntüle

@ -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;
}