added missing curly brace ... :-(

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-06-18 23:15:50 +02:00
parent c0a0748831
commit 29ca5b3021
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -2144,7 +2144,7 @@ function update_gcontact($contact) {
} }
// assign all unassigned fields from the database entry // assign all unassigned fields from the database entry
foreach ($fields as $field => $data) foreach ($fields as $field => $data) {
if (!isset($contact[$field]) || ($contact[$field] == "")) { if (!isset($contact[$field]) || ($contact[$field] == "")) {
$contact[$field] = $r[0][$field]; $contact[$field] = $r[0][$field];
} }