From 5122c95e1ccb9ca81e487299e67761b6ac975a17 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 18 Mar 2010 22:40:44 +1300 Subject: [PATCH] Correct fix for privileges INSERT. --- inc/caldav-MKTICKET.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-MKTICKET.php b/inc/caldav-MKTICKET.php index 3d390364..cbcf14f9 100644 --- a/inc/caldav-MKTICKET.php +++ b/inc/caldav-MKTICKET.php @@ -87,7 +87,7 @@ do { array( ':ticket_id' => $ticket_id, ':owner' => $session->principal_id, - ':privs' => decbin($ticket_privileges), + ':privs' => $ticket_privileges, ':collection' => $collection_id, ':resource' => $resource_id, ':expires' => $sql_timeout,