Some corrections

This commit is contained in:
Michael
2018-05-02 21:12:48 +00:00
committed by Roland Häder
parent 8b775d48f9
commit 3bb5a416f8
3 changed files with 3 additions and 2 deletions

View File

@@ -2094,6 +2094,7 @@ class DFRN
'confirm' => $relocate["confirm"], 'notify' => $relocate["notify"],
'poll' => $relocate["poll"], 'site-pubkey' => $relocate["sitepubkey"]];
$condition = ["(`id` = ?) OR (`nurl` = ?)", $importer["id"], normalise_link($old["url"])];
dba::update('contact', $fields, $condition);
// @TODO No dba:update here?
dba::update('contact', $fields, $condition);