This commit is contained in:
Lizandro Guarnizo
2026-02-03 23:01:25 -05:00
parent 4a38f386b6
commit e722935ac4
2 changed files with 10 additions and 1 deletions
+5
View File
@@ -70,6 +70,11 @@ try {
$menuData['description'] = $input['description'] ?? '';
}
// Guardar mensaje de bienvenida
if (in_array('welcome_message', $availableColumns)) {
$menuData['welcome_message'] = $input['welcome_message'] ?? '';
}
if (in_array('parent_id', $availableColumns)) {
$menuData['parent_id'] = empty($input['parent_id']) ? null : (int)$input['parent_id'];
}