From: Greg Beaver Date: Thu, 11 Dec 2003 16:07:01 +0000 (+0000) Subject: fix #391, PHP 5 reference fix X-Git-Tag: php-5.0.0b3RC1~127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2272c11d8015913e602147978132f6dd75954858;p=php fix #391, PHP 5 reference fix --- diff --git a/pear/System.php b/pear/System.php index b2b2822588..5c31512077 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; }