mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 19:37:23 +08:00
migrate custom field management to filament
fix xss
This commit is contained in:
@@ -22,6 +22,7 @@ if ($action == 'view') {
|
||||
begin_main_frame();
|
||||
echo $field->buildFieldForm();
|
||||
} elseif ($action == 'submit') {
|
||||
die("This method is deprecated! This method is no longer available in 1.10, it does not save data correctly, please go to the management system!");
|
||||
try {
|
||||
$result = $field->save($_REQUEST);
|
||||
nexus_redirect('fields.php?action=view');
|
||||
|
||||
Reference in New Issue
Block a user