Skip to content
Snippets Groups Projects
Commit eddc7996 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #1224802 by kiamlaluno: DrupalLocalStreamWrapper::stream_open() uses a...

- Patch #1224802 by kiamlaluno: DrupalLocalStreamWrapper::stream_open() uses a local variable instead of the argument passed by reference.
parent 9984561f
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -401,7 +401,7 @@ public function stream_open($uri, $mode, $options, &$opened_path) {
$this->handle = ($options & STREAM_REPORT_ERRORS) ? fopen($path, $mode) : @fopen($path, $mode);
if ((bool) $this->handle && $options & STREAM_USE_PATH) {
$opened_url = $path;
$opened_path = $path;
}
return (bool) $this->handle;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment