From c67515b7e66c23c5b5290d5dca4f0888dbcb3c0c Mon Sep 17 00:00:00 2001 From: buckaroo-labs Date: Wed, 20 Dec 2023 16:43:31 -0800 Subject: PHP 8 modifications modifications to avoid "Deprecated" warnings in sql_connect function--- src/SemanticScuttle/db/firebird.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/SemanticScuttle/db/firebird.php b/src/SemanticScuttle/db/firebird.php index 58a7d07..ab9198a 100644 --- a/src/SemanticScuttle/db/firebird.php +++ b/src/SemanticScuttle/db/firebird.php @@ -33,6 +33,12 @@ class sql_db var $last_query_text = ''; + /* 2023-12-20 modifications to avoid "Deprecated" warnings in sql_connect function*/ + var $user; + var $persistency; + var $dbname; + var $server; + /*2023-12-20 end */ function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false) { $this->persistency = $persistency; @@ -524,4 +530,4 @@ class sql_db } // if ... define -?> \ No newline at end of file +?> -- cgit v1.2.3-54-g00ecf