Fix wrong way to get publish status

This commit is contained in:
Thomas Citharel 2016-07-18 15:38:16 +02:00 committed by Lukas Reschke
parent f09c46d166
commit aadb56dfcc
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 2 deletions

View File

@ -1568,8 +1568,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
$row = $result->fetch();
$result->closeCursor();
return $row[0] > 0;
return reset($row) > 0;
}
/**