1
1
Fork 0

Fix SQL error when changing the SSL paths

This commit is contained in:
Michael 2017-10-06 19:25:04 +00:00
parent 10089c6e4e
commit 1870f942d3

View file

@ -740,7 +740,10 @@ function fix_contact_ssl_policy(&$contact,$new_policy) {
}
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']));
}
}