From 8b404a94656e3d69ea149cc87a6e321f77191e3b Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Thu, 1 Mar 2012 08:10:13 -0500 Subject: [PATCH] Various error fixes --- sys/common/query_builder.php | 2 +- sys/common/ssh.php | 4 ++-- sys/databases/firebird.php | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/common/query_builder.php b/sys/common/query_builder.php index 964079b..8e8825b 100644 --- a/sys/common/query_builder.php +++ b/sys/common/query_builder.php @@ -18,7 +18,7 @@ */ class Query_Builder { - private $table, + private $table; /** * Constructor diff --git a/sys/common/ssh.php b/sys/common/ssh.php index 99418af..4d907fd 100644 --- a/sys/common/ssh.php +++ b/sys/common/ssh.php @@ -50,10 +50,10 @@ class SSH { { if($auth_type === 'password') { - ssh2_auth_password(&$this->session, $auth_params['user'], $auth_params['pass']); + ssh2_auth_password($this->session, $auth_params['user'], $auth_params['pass']); } - $this->stream =& ssh2_tunnel(&$this->session, $host, $port); + $this->stream =& ssh2_tunnel($this->session, $host, $port); return $this->stream; } diff --git a/sys/databases/firebird.php b/sys/databases/firebird.php index de3c38e..ffc76be 100644 --- a/sys/databases/firebird.php +++ b/sys/databases/firebird.php @@ -378,7 +378,6 @@ SQL; $tables = array_diff($tables, $exclude); } - $output_sql = ''; // Get the data for each object