Fix naming bug

This commit is contained in:
Jakob Sack 2011-08-09 14:15:11 +02:00
parent 76fc062f27
commit 5047b6e385
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class OC_Contacts_Addressbook{
$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(?,?,?,?,?)' );
$result = $stmt->execute(array($userid,$name,$uri,$description,1));