From c3654a9d4825757c3e1b80fe2c7cc11f63e000a0 Mon Sep 17 00:00:00 2001 From: Florian Schlichting Date: Sat, 22 Dec 2018 00:02:09 +0100 Subject: [PATCH] call fetch_external with external_ua_string (fixes #164) --- inc/caldav-BIND.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/caldav-BIND.php b/inc/caldav-BIND.php index abb078cb..6de1f25e 100644 --- a/inc/caldav-BIND.php +++ b/inc/caldav-BIND.php @@ -82,7 +82,7 @@ if ( preg_match ( '{^(?:https?://|file:///)([^/]+)(:[0-9]\+)?/.+$}', $href, $mat $qry = new AwlQuery( 'SELECT bind_id from dav_binding where dav_name = :dav_name', array( ':dav_name' => $destination_path ) ); if ( ! $qry->Exec('BIND',__LINE__,__FILE__) || $qry->rows() != 1 || !($row = $qry->Fetch()) ) $request->DoResponse(500,translate('Database Error')); - fetch_external ( $row->bind_id, '' ); + fetch_external ( $row->bind_id, '', $c->external_ua_string ); $request->DoResponse(201); } else {