1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-28 16:50:06 +01:00

Fix controllo database

This commit is contained in:
Pek5892 2024-04-09 14:21:57 +02:00
parent fedf455b1f
commit bc43765546
2 changed files with 6 additions and 2 deletions

View File

@ -106,7 +106,7 @@ $settings = [
'type' => 'version',
'description' => '7.3.x - 8.0.x, consigliato almeno 7.4.x',
'minimum' => '7.3.0',
'maximum' => '8.0.99',
'maximum' => '8.1.99',
],
'zip' => [

View File

@ -424,7 +424,11 @@ class Update
public static function getSettings()
{
$settings = Setting::get()->toArray();
$settings_all = Setting::all();
foreach ($settings_all as $setting) {
$settings[$setting->nome] = $setting->tipo;
}
return $settings;
}