summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/carddav/carddavbackend.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-12-02 09:20:58 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2015-12-02 09:20:58 +0100
commit4c695e63c0d3361fc4a758af66e54e3871754c4b (patch)
tree0dbc2c44ae81c0b26a16050dbb12447b75110bb2 /apps/dav/lib/carddav/carddavbackend.php
parent0391cc045109cc0dcc5f60753144593ab019626c (diff)
downloadnextcloud-server-4c695e63c0d3361fc4a758af66e54e3871754c4b.tar.gz
nextcloud-server-4c695e63c0d3361fc4a758af66e54e3871754c4b.zip
Fix comments
Diffstat (limited to 'apps/dav/lib/carddav/carddavbackend.php')
-rw-r--r--apps/dav/lib/carddav/carddavbackend.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/carddav/carddavbackend.php b/apps/dav/lib/carddav/carddavbackend.php
index 752669aae2a..29b056672b4 100644
--- a/apps/dav/lib/carddav/carddavbackend.php
+++ b/apps/dav/lib/carddav/carddavbackend.php
@@ -117,10 +117,10 @@ class CardDavBackend implements BackendInterface, SyncSupport {
->execute();
$row = $result->fetch();
+ $result->closeCursor();
if ($row === false) {
return null;
}
- $result->closeCursor();
return [
'id' => $row['id'],