diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-04-10 11:18:02 -0400 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-04-10 11:18:02 -0400 |
commit | eaa649cfb2e178765782c427098ecb82627b073b (patch) | |
tree | 72fa5595cb5e88344e9b77d6b59c264529a31d30 /apps/calendar/lib | |
parent | 9294a954383f06a16af921b0f390be0245f3bdb6 (diff) | |
download | nextcloud-server-eaa649cfb2e178765782c427098ecb82627b073b.tar.gz nextcloud-server-eaa649cfb2e178765782c427098ecb82627b073b.zip |
fix bug in share lib of calendar
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r-- | apps/calendar/lib/share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/calendar/lib/share.php b/apps/calendar/lib/share.php index b4abcc08dd9..f5acef92b6f 100644 --- a/apps/calendar/lib/share.php +++ b/apps/calendar/lib/share.php @@ -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; |