projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10089c6
)
Fix SQL error when changing the SSL paths
author
Michael
<heluecht@pirati.ca>
Fri, 6 Oct 2017 19:25:04 +0000
(19:25 +0000)
committer
Michael
<heluecht@pirati.ca>
Fri, 6 Oct 2017 19:25:04 +0000
(19:25 +0000)
include/network.php
patch
|
blob
|
history
diff --git
a/include/network.php
b/include/network.php
index 3e01b53e053458a7cad1fa2e79e88c925ba6be81..11a0fffbe671a827c3e524e10ed0bc7b76def26c 100644
(file)
--- a/
include/network.php
+++ b/
include/network.php
@@
-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']));
}
}