mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-23 04:19:59 +01:00
Stile del codice
This commit is contained in:
parent
de5724664c
commit
e482a6419c
@ -49,8 +49,7 @@ class UpdateHook extends CachedManager
|
||||
{
|
||||
$api = self::getAPI();
|
||||
|
||||
if(!$api['prerelease'] or setting('Abilita canale pre-release per aggiornamenti')){
|
||||
|
||||
if (!$api['prerelease'] or setting('Abilita canale pre-release per aggiornamenti')) {
|
||||
$version = ltrim($api['tag_name'], 'v');
|
||||
$current = Update::getVersion();
|
||||
|
||||
|
@ -188,8 +188,6 @@ class WidgetManager implements ManagerInterface
|
||||
if (!empty($widget['more_link'])) {
|
||||
$result .= '
|
||||
</a>';
|
||||
|
||||
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
@ -157,7 +157,7 @@ class Settings
|
||||
}
|
||||
|
||||
// Lista multipla
|
||||
else if (preg_match("/multiple\[(.+?)\]/", $setting->tipo, $m)) {
|
||||
elseif (preg_match("/multiple\[(.+?)\]/", $setting->tipo, $m)) {
|
||||
$values = explode(',', $m[1]);
|
||||
|
||||
$list = [];
|
||||
|
Loading…
Reference in New Issue
Block a user