Skip to content

Commit

Permalink
bugfix: fix small seeking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhilton committed Nov 7, 2024
1 parent 210e6e1 commit ca50828
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/stream_wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ private function open_read_stream() {
}

// Wrap the body in a caching entity body if seeking is allowed.
if ($this->get_option('seekable') && !$this->body->isSeekable()) {
if (!$this->body->isSeekable()) {
$this->body = new CachingStream($this->body);
}

Expand Down

0 comments on commit ca50828

Please sign in to comment.