- if ($request->getParameter('btn_delete')) {
- // Delete button pressed.
- $res = CustomFields::deleteField($id);
+ if ($request->getParameter('btn_delete')) {
+ // Delete button pressed.
+ $res = CustomFields::deleteField($id);
$smarty->assign('title', $i18n->getKey('title.cf_delete_custom_field'));
$smarty->assign('content_page_name', 'cf_custom_field_delete.tpl');
$smarty->display('index.tpl');
$smarty->assign('title', $i18n->getKey('title.cf_delete_custom_field'));
$smarty->assign('content_page_name', 'cf_custom_field_delete.tpl');
$smarty->display('index.tpl');