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:
parent
c41ca167eb
commit
03eb6a166b
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user