From 15281102574f63d4847cb4e772fadc32f28529e2 Mon Sep 17 00:00:00 2001 From: buckaroo-labs <46908086+buckaroo-labs@users.noreply.github.com> Date: Wed, 20 Dec 2023 16:38:46 -0800 Subject: [PATCH] PHP 8 modifications Modifications to avoid "Deprecated" warnings in sql_connect function --- src/SemanticScuttle/db/mysqli.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/SemanticScuttle/db/mysqli.php b/src/SemanticScuttle/db/mysqli.php index 9a2709a..5971815 100644 --- a/src/SemanticScuttle/db/mysqli.php +++ b/src/SemanticScuttle/db/mysqli.php @@ -32,6 +32,12 @@ class sql_db var $open_queries = array(); var $indexed = 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 */ function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false) { @@ -559,4 +565,4 @@ class sql_db } // if ... define -?> \ No newline at end of file +?>