aboutsummaryrefslogtreecommitdiffstats
path: root/include/cdav.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-28 16:57:32 +0000
committerMario <mario@mariovavti.com>2023-01-28 16:57:32 +0000
commita3913c5ca47479e0ae616d7720b75e6415fd072f (patch)
tree6237e6e4c75b28c8ae2758ead14b0ca0f9db5730 /include/cdav.php
parentae1cc65b23ce1829bf4a60b228011e01c2e831fd (diff)
downloadvolse-hubzilla-a3913c5ca47479e0ae616d7720b75e6415fd072f.tar.gz
volse-hubzilla-a3913c5ca47479e0ae616d7720b75e6415fd072f.tar.bz2
volse-hubzilla-a3913c5ca47479e0ae616d7720b75e6415fd072f.zip
fix ics import
Diffstat (limited to 'include/cdav.php')
-rw-r--r--include/cdav.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cdav.php b/include/cdav.php
index fcce0ec4a..73977e624 100644
--- a/include/cdav.php
+++ b/include/cdav.php
@@ -132,7 +132,7 @@ function import_cdav_card($id, $ext, $table, $column, $objects, $profile, $backe
$objectUri = random_string(40) . '.' . $ext;
$r = q("SELECT uri FROM $table WHERE $column = %d AND uri = '%s' LIMIT 1",
- dbesc($id),
+ dbesc(is_array($id) ? $id[0] : $id),
dbesc($objectUri)
);
if (count($r))