Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-04-10 19:18:02 +0400
committerGeorg Ehrke <dev@georgswebsite.de>2012-04-10 19:18:02 +0400
commiteaa649cfb2e178765782c427098ecb82627b073b (patch)
tree72fa5595cb5e88344e9b77d6b59c264529a31d30 /apps/calendar
parent9294a954383f06a16af921b0f390be0245f3bdb6 (diff)
fix bug in share lib of calendar
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/lib/share.php2
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;