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 39f08c5 commit a42d987Copy full SHA for a42d987
1 file changed
modules/stato_servizi/actions.php
@@ -258,9 +258,15 @@
258
->where('id', '=', $id)
259
->update(['location' => $location]);
260
261
+ $name = $database->table('zz_widgets_lang')
262
+ ->where('id_record', '=', $id)
263
+ ->where('id_lang', '=', Models\Locale::getDefault()->id)
264
+ ->first()
265
+ ->title;
266
+
267
// Messaggio informativo
268
flash()->info(tr('Posizione del widget "_NAME_" aggiornata!', [
- '_NAME_' => $widget->getTranslation('title'),
269
+ '_NAME_' => $name,
270
]));
271
272
echo json_encode([]);
0 commit comments