From 09f29cd577f0d9ef150a609b2870380af71882a2 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 25 May 2021 13:11:23 +0000 Subject: [PATCH] Avoid notices because of empty fields --- src/Model/APContact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/APContact.php b/src/Model/APContact.php index 28bb31c83d..8795b22aa5 100644 --- a/src/Model/APContact.php +++ b/src/Model/APContact.php @@ -361,7 +361,7 @@ class APContact Logger::info('Updated profile', ['url' => $url]); - return $apcontact; + return DBA::selectFirst('apcontact', [], ['url' => $apcontact['url']]) ?: []; } /**