We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f22c62 commit a3c2c68Copy full SHA for a3c2c68
1 file changed
modules/fasce_orarie/actions.php
@@ -36,7 +36,9 @@
36
if (!empty($is_predefined)) {
37
$dbo->query('UPDATE `in_fasceorarie` SET `is_predefined` = 0');
38
}
39
- $fascia_oraria->name = $descrizione;
+ if (Models\Locale::getDefault()->id == Models\Locale::getPredefined()->id) {
40
+ $fascia_oraria->name = $descrizione;
41
+ }
42
$fascia_oraria->giorni = implode(',', $giorni);
43
$fascia_oraria->ora_inizio = $ora_inizio;
44
$fascia_oraria->ora_fine = $ora_fine;
0 commit comments