Stile del codice

This commit is contained in:
Thomas Zilio 2020-05-04 18:12:02 +02:00
parent de5724664c
commit e482a6419c
3 changed files with 2 additions and 5 deletions

View File

@ -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();

View File

@ -188,8 +188,6 @@ class WidgetManager implements ManagerInterface
if (!empty($widget['more_link'])) {
$result .= '
</a>';
}
return $result;

View File

@ -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 = [];