aboutsummaryrefslogtreecommitdiffstats
path: root/include/cdav.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-02-24 10:02:09 +0100
committerMario <mario@mariovavti.com>2020-02-24 10:02:09 +0100
commitb36eb9a91cba1a6f3a53961f895665a0ae110b95 (patch)
tree3f2f031445c4f5cf1e97d548a9df335a12a98c5b /include/cdav.php
parent7bb94f999350dfdc2c2cdf5b5d094ef52953edd6 (diff)
parent989fbe70cd566da4c5757527aa77022036af6274 (diff)
downloadvolse-hubzilla-b36eb9a91cba1a6f3a53961f895665a0ae110b95.tar.gz
volse-hubzilla-b36eb9a91cba1a6f3a53961f895665a0ae110b95.tar.bz2
volse-hubzilla-b36eb9a91cba1a6f3a53961f895665a0ae110b95.zip
Merge branch 'dev' into 'dev'
Implement DAV calendars sync with clones See merge request hubzilla/core!1834
Diffstat (limited to 'include/cdav.php')
-rw-r--r--include/cdav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/cdav.php b/include/cdav.php
index d72caa442..cdf7775db 100644
--- a/include/cdav.php
+++ b/include/cdav.php
@@ -175,12 +175,12 @@ function import_cdav_card($id, $ext, $table, $column, $objects, $profile, $backe
function get_cdav_id($principaluri, $uri, $table) {
- $r = q("SELECT id FROM $table WHERE principaluri = '%s' AND uri = '%s' LIMIT 1",
+ $r = q("SELECT * FROM $table WHERE principaluri = '%s' AND uri = '%s' LIMIT 1",
dbesc($principaluri),
dbesc($uri)
);
if(! $r)
return false;
- return $r[0]['id'];
+ return $r[0];
}