[Pkg-owncloud-commits] [php-sabredav] 211/275: Missing custom table name

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:56:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit beea9f44c9ded7d63f96c0d4471c6e750ff77e7e
Author: armstrong <pawelsmok at biznes-partner.eu>
Date:   Fri Sep 5 12:27:45 2014 +0200

    Missing custom table name
---
 lib/CalDAV/Backend/PDO.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/CalDAV/Backend/PDO.php b/lib/CalDAV/Backend/PDO.php
index ed09424..8237227 100644
--- a/lib/CalDAV/Backend/PDO.php
+++ b/lib/CalDAV/Backend/PDO.php
@@ -864,7 +864,7 @@ class PDO extends AbstractBackend implements SyncSupport, SubscriptionSupport {
      */
     protected function addChange($calendarId, $objectUri, $operation) {
 
-        $stmt = $this->pdo->prepare('INSERT INTO ' . $this->calendarChangesTableName .' (uri, synctoken, calendarid, operation) SELECT ?, synctoken, ?, ? FROM calendars WHERE id = ?');
+        $stmt = $this->pdo->prepare('INSERT INTO ' . $this->calendarChangesTableName .' (uri, synctoken, calendarid, operation) SELECT ?, synctoken, ?, ? FROM ' . $this->calendarTableName .' WHERE id = ?');
         $stmt->execute([
             $objectUri,
             $calendarId,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list