mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Correct typo in last_insert_id for calendar and pg fix #oc-731
This commit is contained in:
parent
2f8412defc
commit
d1f0261b5d
1 changed files with 1 additions and 1 deletions
|
|
@ -109,7 +109,7 @@ class OC_Calendar_Calendar{
|
|||
$stmt = OCP\DB::prepare( 'INSERT INTO *PREFIX*calendar_calendars (userid,displayname,uri,ctag,calendarorder,calendarcolor,timezone,components) VALUES(?,?,?,?,?,?,?,?)' );
|
||||
$result = $stmt->execute(array($userid,$name,$uri,1,$order,$color,$timezone,$components));
|
||||
|
||||
return OCP\DB::insertid('*PREFIX*calendar_calendar');
|
||||
return OCP\DB::insertid('*PREFIX*calendar_calendars');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue