added missing curly brace ... :-(
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
c0a0748831
commit
29ca5b3021
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue