mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
fix bug in share lib of calendar
This commit is contained in:
parent
9294a95438
commit
eaa649cfb2
1 changed files with 1 additions and 1 deletions
|
|
@ -231,7 +231,7 @@ class OC_Calendar_Share{
|
|||
$stmt_calendar = OC_DB::prepare('SELECT * FROM *PREFIX*calendar_share_' . OC_Calendar_Share::CALENDAR . ' WHERE sharetype = "public" AND share = ?');
|
||||
$result_calendar = $stmt_calendar->execute(array($token));
|
||||
$stmt_event = OC_DB::prepare('SELECT * FROM *PREFIX*calendar_share_' . OC_Calendar_Share::EVENT . ' WHERE sharetype = "public" AND share = ?');
|
||||
$result_event = $stmt_calendar->execute(array($token));
|
||||
$result_event = $stmt_event->execute(array($token));
|
||||
$return = array();
|
||||
if($result_calendar->numRows() == 0 && $result_event->numRows() == 0){
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue