summaryrefslogtreecommitdiff
path: root/includes/stream_wrappers.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2011-07-31 23:30:39 -0400
committerDries Buytaert <dries@buytaert.net>2011-07-31 23:30:39 -0400
commit452d443c2267b95b213a00f129660f833c3c01c9 (patch)
treea94e262dcc93d00c45a9943ad2e5c51fed7a444d /includes/stream_wrappers.inc
parent33acc6a8047eb51f64e8dd6415ab6c10590cc057 (diff)
downloadbrdo-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.
Diffstat (limited to 'includes/stream_wrappers.inc')
-rw-r--r--includes/stream_wrappers.inc2
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;