mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 04:20:49 +08:00
add custom field to staffpanel
This commit is contained in:
@@ -25,7 +25,7 @@ if ($action == 'view') {
|
||||
$result = $field->save($_REQUEST);
|
||||
redirect('fields.php?action=view');
|
||||
} catch (\Exception $e) {
|
||||
stderr($lang_fields['field_management']." - ".$lang_fields['text_field'], $e->getMessage());
|
||||
stderr($lang_fields['field_management'], $e->getMessage());
|
||||
}
|
||||
} elseif ($action == 'edit') {
|
||||
$id = intval($_GET['id'] ?? 0);
|
||||
|
||||
Reference in New Issue
Block a user