summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Beaupré2010-12-01 18:26:25 (GMT)
committeranarcat2010-12-20 20:19:05 (GMT)
commit00393db6fd8bf831c6e100a1e07dbc565c8a38b1 (patch)
treea1b2fdebb66f2af4c3507bf69bc996c8e7d4b0af
parentb6a53d66122a034395d73a3666b329e6c787da6a (diff)
initialise $pipes array for clarity
-rw-r--r--db/mysql/mysql_service.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/mysql/mysql_service.inc b/db/mysql/mysql_service.inc
index 27aacd2..cc92ea4 100644
--- a/db/mysql/mysql_service.inc
+++ b/db/mysql/mysql_service.inc
@@ -150,6 +150,7 @@ port=%s
2 => array("pipe", "w"), // stderr is a file to write to
3 => array("pipe", "r"), // fd3 is our special file descriptor where we pass credentials
);
+ $pipes = array();
$process = proc_open($cmd, $descriptorspec, $pipes);
$this->safe_shell_exec_output = '';
if (is_resource($process)) {