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:
parent
fedf455b1f
commit
bc43765546
@ -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' => [
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user