Fix SQL error when changing the SSL paths
This commit is contained in:
parent
10089c6e4e
commit
1870f942d3
1 changed files with 4 additions and 1 deletions
|
@ -740,7 +740,10 @@ function fix_contact_ssl_policy(&$contact,$new_policy) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($ssl_changed) {
|
if ($ssl_changed) {
|
||||||
dba::update('contact', $contact, array('id' => $contact['id']));
|
$fields = array('url' => $contact['url'], 'request' => $contact['request'],
|
||||||
|
'notify' => $contact['notify'], 'poll' => $contact['poll'],
|
||||||
|
'confirm' => $contact['confirm'], 'poco' => $contact['poco']);
|
||||||
|
dba::update('contact', $fields, array('id' => $contact['id']));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue