1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-16 19:40:44 +01:00

Fix configurazione per php8.1

This commit is contained in:
Pek5892 2024-04-15 08:54:08 +02:00
parent c41ca167eb
commit 03eb6a166b

View File

@ -31,7 +31,7 @@ $pageTitle = tr('Configurazione');
include_once App::filepath('include|custom|', 'top.php');
// Controllo sull'esistenza di nuovi parametri di configurazione
if (post('db_host') !== null) {
if (!empty(post('db_host'))) {
$db_host = $_POST['db_host']; // Fix per evitare la conversione in numero
$db_name = post('db_name');
$db_username = post('db_username');