From 580f3321c7de3becc468673a3d9bf0e2a91717a7 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Sat, 23 Aug 2014 06:14:18 +0200 Subject: fix two bugs: syncdata generation and tag linking --- lib/notestorage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/notestorage.php b/lib/notestorage.php index d9ceaab..3b51763 100644 --- a/lib/notestorage.php +++ b/lib/notestorage.php @@ -138,8 +138,8 @@ class NoteStorage )->fetchRow(); if ($row === false) { - $syncdata = $this->getNewSyncData($this->username); - $this->saveSyncData($this->username, $syncdata); + $syncdata = $this->getNewSyncData(); + $this->saveSyncData($syncdata); } else { $syncdata = new SyncData(); $syncdata->latestSyncRevision = (int) $row['syncdata_latest_sync_revision']; -- cgit v1.2.3