From: Greg Beaver Date: Thu, 11 Dec 2003 16:08:19 +0000 (+0000) Subject: MFH fix #391, PHP 5 reference fix X-Git-Tag: php-4.3.5RC1~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f32f2e6a1a12d243935a6f8545c87789f84a630;p=php MFH fix #391, PHP 5 reference fix --- diff --git a/pear/System.php b/pear/System.php index 66f48fe49f..a9a487d522 100644 --- a/pear/System.php +++ b/pear/System.php @@ -289,7 +289,8 @@ class System } if (isset($mode)) { if (!$outputfd = fopen($outputfile, $mode)) { - return System::raiseError("Could not open $outputfile"); + $err = System::raiseError("Could not open $outputfile"); + return $err; } $ret = true; }