diff options
author | Dries Buytaert <dries@buytaert.net> | 2011-07-31 23:30:39 -0400 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2011-07-31 23:30:39 -0400 |
commit | 452d443c2267b95b213a00f129660f833c3c01c9 (patch) | |
tree | a94e262dcc93d00c45a9943ad2e5c51fed7a444d | |
parent | 33acc6a8047eb51f64e8dd6415ab6c10590cc057 (diff) | |
download | brdo-452d443c2267b95b213a00f129660f833c3c01c9.tar.gz brdo-452d443c2267b95b213a00f129660f833c3c01c9.tar.bz2 |
- Patch #1224802 by kiamlaluno: DrupalLocalStreamWrapper::stream_open() uses a local variable instead of the argument passed by reference.
-rw-r--r-- | includes/stream_wrappers.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/stream_wrappers.inc b/includes/stream_wrappers.inc index 3c88f3d8f..9a9b06171 100644 --- a/includes/stream_wrappers.inc +++ b/includes/stream_wrappers.inc @@ -401,7 +401,7 @@ abstract class DrupalLocalStreamWrapper implements DrupalStreamWrapperInterface $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; |