Skip to content

Commit 2da2b5c

Browse files
author
Christian Putzke
committed
- bugfix: didn't merged vCards on edit correctly
1 parent 088075f commit 2da2b5c

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v0.3 to v0.3.1
2+
- bugfix: didn't merged vCards on edit correctly
3+
14
changes from v0.2.5 to v0.3
25
- added edit and delete functionality for CardDAV-Contacts
36
- added sabreDAV support

README

+6
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ Planned Features
2121
* improved search for CardDAV-Contacts within the addressbook
2222

2323

24+
Requirements
25+
------------
26+
* SQL-Database
27+
* CURL
28+
29+
2430
Installation
2531
------------
2632
* execute SQL-Statements from /plugins/carddav/SQL/mysql.sql

carddav.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @copyright Graviox Studios
1919
* @link http://www.graviox.de
2020
* @since 06.09.2011
21-
* @version 0.3
21+
* @version 0.3.1
2222
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2 or later
2323
*
2424
*/

carddav_addressbook.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @copyright Graviox Studios
88
* @since 12.09.2011
99
* @link http://www.graviox.de
10-
* @version 0.3
10+
* @version 0.3.1
1111
* @license http://gnu.org/copyleft/gpl.html GNU GPL v2 or later
1212
*
1313
*/
@@ -927,7 +927,9 @@ public function remove_from_group($group_id, $ids)
927927
*/
928928
public function update($carddav_contact_id, $save_data)
929929
{
930+
$record = $this->get_record($carddav_contact_id, true);
930931
$database_column_contents = $this->get_database_column_contents($save_data, $record);
932+
931933
return $this->carddav_update($carddav_contact_id, $database_column_contents['vcard']);
932934
}
933935

0 commit comments

Comments
 (0)