mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
fix ics import
This commit is contained in:
@@ -132,7 +132,7 @@ function import_cdav_card($id, $ext, $table, $column, $objects, $profile, $backe
|
|||||||
$objectUri = random_string(40) . '.' . $ext;
|
$objectUri = random_string(40) . '.' . $ext;
|
||||||
|
|
||||||
$r = q("SELECT uri FROM $table WHERE $column = %d AND uri = '%s' LIMIT 1",
|
$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)
|
dbesc($objectUri)
|
||||||
);
|
);
|
||||||
if (count($r))
|
if (count($r))
|
||||||
|
|||||||
Reference in New Issue
Block a user