One-line variable name change on line 389 of stream_wrappers.inc.

In DrupalLocalStreamWrapper::stream_open(), if a file handle is established and the client code wants $opened_path to be set, it sets the variable $opened_url instead of $opened_path.

Patch attached.

CommentFileSizeAuthor
stream_wrappers.opened_path.patch679 byteskevin hankens

Comments

kevin hankens’s picture

Status: Active » Needs review
aaron’s picture

good catch. looks good to me. do we need a test for it?

thedavidmeister’s picture

Issue summary: View changes
Status: Needs review » Closed (duplicate)
Issue tags: +Needs tests

This has been fixed at some point.