From a4e0721c6b5af7db5c7520f22b4878217cb6c7d6 Mon Sep 17 00:00:00 2001 From: buckaroo-labs <46908086+buckaroo-labs@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:40:59 -0800 Subject: [PATCH] PHP 8 modifications modifications to avoid "Deprecated" warnings in sql_connect function --- src/SemanticScuttle/db/db2.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/SemanticScuttle/db/db2.php b/src/SemanticScuttle/db/db2.php index b1abf1a..63c5bdd 100644 --- a/src/SemanticScuttle/db/db2.php +++ b/src/SemanticScuttle/db/db2.php @@ -32,7 +32,12 @@ class sql_db var $rowset = array(); var $row_index; var $num_queries = 0; - + /* 2023-12-20 modifications to avoid "Deprecated" warnings in sql_connect function*/ + var $user; + var $persistency; + var $dbname; + var $server; + /*2023-12-20 end */ // // Constructor // @@ -414,4 +419,4 @@ class sql_db } // if ... define -?> \ No newline at end of file +?>