mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-10 00:54:27 +02:00
Fix Notice: " Undefined index: urls in /src/Worker/UpdateServerDirectory.php on line 64"
This commit is contained in:
parent
e033bcd2d3
commit
cdf8a2f374
1 changed files with 3 additions and 0 deletions
|
@ -61,6 +61,9 @@ class UpdateServerDirectory
|
||||||
|
|
||||||
$urls = [];
|
$urls = [];
|
||||||
foreach ($contacts['entry'] as $entry) {
|
foreach ($contacts['entry'] as $entry) {
|
||||||
|
if (empty($entry['urls'])) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
foreach ($entry['urls'] as $url_entry) {
|
foreach ($entry['urls'] as $url_entry) {
|
||||||
if (empty($url_entry['type']) || empty($url_entry['value'])) {
|
if (empty($url_entry['type']) || empty($url_entry['value'])) {
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue