patch #1253465, avoid error messages for unset variables in PHP functions that require a parameter passed by reference

This commit is contained in:
Marc Delisle
2005-08-14 21:34:01 +00:00
parent 80aecf6518
commit 7cf7ada8ac
8 changed files with 20 additions and 17 deletions

View File

@@ -67,7 +67,7 @@ function PMA_transformation_text_plain__external($buffer, $options = array(), $m
0 => array("pipe", "r"),
1 => array("pipe", "w")
);
$process = proc_open($program . ' ' . $poptions, $descriptorspec, $pipes);
$process = proc_open($program . ' ' . $poptions, $descriptorspec, $pipes = array());
if (is_resource($process)) {
fwrite($pipes[0], $buffer);
fclose($pipes[0]);