added missing curly brace ... :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
@@ -2144,7 +2144,7 @@ function update_gcontact($contact) {
|
||||
}
|
||||
|
||||
// assign all unassigned fields from the database entry
|
||||
foreach ($fields as $field => $data)
|
||||
foreach ($fields as $field => $data) {
|
||||
if (!isset($contact[$field]) || ($contact[$field] == "")) {
|
||||
$contact[$field] = $r[0][$field];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user