Fix naming bug
This commit is contained in:
parent
76fc062f27
commit
5047b6e385
|
@ -78,7 +78,7 @@ class OC_Contacts_Addressbook{
|
||||||
$uris[] = $i['uri'];
|
$uris[] = $i['uri'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$uri = self::createURI('name', $uris );
|
$uri = self::createURI($name, $uris );
|
||||||
|
|
||||||
$stmt = OC_DB::prepare( 'INSERT INTO *PREFIX*contacts_addressbooks (userid,displayname,uri,description,ctag) VALUES(?,?,?,?,?)' );
|
$stmt = OC_DB::prepare( 'INSERT INTO *PREFIX*contacts_addressbooks (userid,displayname,uri,description,ctag) VALUES(?,?,?,?,?)' );
|
||||||
$result = $stmt->execute(array($userid,$name,$uri,$description,1));
|
$result = $stmt->execute(array($userid,$name,$uri,$description,1));
|
||||||
|
|
Loading…
Reference in New Issue