Page MenuHomePhorge

D387.1775313013.diff
No OneTemporary

Authored By
Unknown
Size
661 B
Referenced Files
None
Subscribers
None

D387.1775313013.diff

diff --git a/lib/Kolab/DAV/Node.php b/lib/Kolab/DAV/Node.php
--- a/lib/Kolab/DAV/Node.php
+++ b/lib/Kolab/DAV/Node.php
@@ -170,8 +170,6 @@
// $data can be a resource or a string
if (is_resource($data)) {
- rewind($data);
-
// $data can be php://input or php://temp
// php://input is not seekable, we need to "convert"
// it to seekable resource, fstat/rewind later will work
@@ -182,6 +180,9 @@
rewind($new_data);
$data = $new_data;
}
+ else {
+ rewind($data);
+ }
}
$filedata = array(

File Metadata

Mime Type
text/plain
Expires
Sat, Apr 4, 2:30 PM (21 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18808383
Default Alt Text
D387.1775313013.diff (661 B)

Event Timeline