From 452d443c2267b95b213a00f129660f833c3c01c9 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 31 Jul 2011 23:30:39 -0400 Subject: - Patch #1224802 by kiamlaluno: DrupalLocalStreamWrapper::stream_open() uses a local variable instead of the argument passed by reference. --- includes/stream_wrappers.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3