diff --git a/admin/install.php b/admin/install.php index 2974a75112..7875fe31ce 100644 --- a/admin/install.php +++ b/admin/install.php @@ -392,7 +392,7 @@ function InsertData( $p_table, $p_data ) { $f_db_exists = true; } if( $f_db_type == 'db2' ) { - $result = &$g_db->execute( 'set schema ' . $f_db_schema ); + $result = $g_db->execute( 'set schema ' . $f_db_schema ); if( $result === false ) { print_test_result( BAD, true, 'set schema failed: ' . $g_db->errorMsg() ); } @@ -424,7 +424,7 @@ function InsertData( $p_table, $p_data ) { if( $t_result == true ) { $t_db_open = true; if( $f_db_type == 'db2' ) { - $result = &$g_db->execute( 'set schema ' . $f_db_schema ); + $result = $g_db->execute( 'set schema ' . $f_db_schema ); if( $result === false ) { print_test_result( BAD, true, 'set schema failed: ' . $g_db->errorMsg() ); } @@ -735,7 +735,7 @@ function InsertData( $p_table, $p_data ) { $t_result = false; echo $g_db->errorMsg(); } else { - $t_result = &$g_db->execute( 'set schema ' . $f_db_schema ); + $t_result = $g_db->execute( 'set schema ' . $f_db_schema ); } } @@ -752,7 +752,7 @@ function InsertData( $p_table, $p_data ) { $dict = NewDataDictionary( $g_db ); if( $f_db_type == 'db2' ) { - $rs = &$g_db->Execute( "CREATE SCHEMA " . $f_db_schema ); + $rs = $g_db->Execute( "CREATE SCHEMA " . $f_db_schema ); if( !$rs ) { $t_result = false; @@ -801,7 +801,7 @@ function InsertData( $p_table, $p_data ) { $t_result = @$g_db->Connect( $f_hostname, $f_db_username, $f_db_password, $f_database_name ); if( $f_db_type == 'db2' ) { - $result = &$g_db->execute( 'set schema ' . $f_db_schema ); + $result = $g_db->execute( 'set schema ' . $f_db_schema ); if( $result === false ) { echo $g_db->errorMsg(); } @@ -851,7 +851,7 @@ function InsertData( $p_table, $p_data ) { } if( $f_db_type == 'db2' ) { - $result = &$g_db->execute( 'set schema ' . $f_db_schema ); + $result = $g_db->execute( 'set schema ' . $f_db_schema ); if( $result === false ) { echo $g_db->errorMsg(); } @@ -1125,7 +1125,7 @@ function InsertData( $p_table, $p_data ) { } if( $f_db_type == 'db2' ) { - $result = &$g_db->execute( 'set schema ' . $f_db_schema ); + $result = $g_db->execute( 'set schema ' . $f_db_schema ); if( $result === false ) { echo $g_db->errorMsg(); }