]> granicus.if.org Git - php/commitdiff
fix #391, PHP 5 reference fix
authorGreg Beaver <cellog@php.net>
Thu, 11 Dec 2003 16:07:01 +0000 (16:07 +0000)
committerGreg Beaver <cellog@php.net>
Thu, 11 Dec 2003 16:07:01 +0000 (16:07 +0000)
pear/System.php

index b2b282258877ac1368a27d16d168ccb562d13dec..5c31512077c19c85b23a6ca05f5acee3de6ebcf1 100644 (file)
@@ -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;
         }