aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/DAV/FSExt/File.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-02-15 18:35:40 +0000
committerMario <mario@mariovavti.com>2021-02-15 18:35:40 +0000
commit0cd4c3410121b9b584dc1b108e555832843b2576 (patch)
treeadcac187c383120a255396d19a010f359c58e614 /vendor/sabre/dav/lib/DAV/FSExt/File.php
parent02401ea9fd5d53f590305c0f9834685cda58723d (diff)
downloadvolse-hubzilla-0cd4c3410121b9b584dc1b108e555832843b2576.tar.gz
volse-hubzilla-0cd4c3410121b9b584dc1b108e555832843b2576.tar.bz2
volse-hubzilla-0cd4c3410121b9b584dc1b108e555832843b2576.zip
compser update sabre/dav /vobject
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/FSExt/File.php')
-rw-r--r--vendor/sabre/dav/lib/DAV/FSExt/File.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/sabre/dav/lib/DAV/FSExt/File.php b/vendor/sabre/dav/lib/DAV/FSExt/File.php
index 060ef5a48..74849b564 100644
--- a/vendor/sabre/dav/lib/DAV/FSExt/File.php
+++ b/vendor/sabre/dav/lib/DAV/FSExt/File.php
@@ -41,7 +41,7 @@ class File extends Node implements DAV\PartialUpdate\IPatchSupport
*
* The second argument is the type of update we're doing.
* This is either:
- * * 1. append
+ * * 1. append (default)
* * 2. update based on a start byte
* * 3. update based on an end byte
*;
@@ -75,6 +75,9 @@ class File extends Node implements DAV\PartialUpdate\IPatchSupport
$f = fopen($this->path, 'c');
fseek($f, $offset, SEEK_END);
break;
+ default:
+ $f = fopen($this->path, 'a');
+ break;
}
if (is_string($data)) {
fwrite($f, $data);