diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-02 09:20:58 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-12-02 09:20:58 +0100 |
commit | 4c695e63c0d3361fc4a758af66e54e3871754c4b (patch) | |
tree | 0dbc2c44ae81c0b26a16050dbb12447b75110bb2 /apps/dav/lib/carddav/carddavbackend.php | |
parent | 0391cc045109cc0dcc5f60753144593ab019626c (diff) | |
download | nextcloud-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.php | 2 |
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'], |