Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117849388
D387.1775313013.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
661 B
Referenced Files
None
Subscribers
None
D387.1775313013.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D387: Fix PHP Warning: rewind(): stream does not support seeking (T2259)
Attached
Detach File
Event Timeline