Zeile 426 | Zeile 426 |
---|
$plugins->run_hooks("admin_config_profile_fields_edit_commit");
|
$plugins->run_hooks("admin_config_profile_fields_edit_commit");
|
$db->update_query("profilefields", $updated_profile_field, "fid = '".$mybb->get_input('fid', MyBB::INPUT_INT)."'");
| $db->update_query("profilefields", $updated_profile_field, "fid='{$profile_field['fid']}'");
|
$cache->update_profilefields();
| $cache->update_profilefields();
|
Zeile 443 | Zeile 443 |
---|
$sub_tabs['edit_profile_field'] = array( 'title' => $lang->edit_profile_field,
|
$sub_tabs['edit_profile_field'] = array( 'title' => $lang->edit_profile_field,
|
'link' => "index.php?module=config-profile_fields&action=edit&fid=".$mybb->get_input('fid', MyBB::INPUT_INT),
| 'link' => "index.php?module=config-profile_fields&action=edit&fid={$profile_field['fid']}",
|
'description' => $lang->edit_profile_field_desc );
| 'description' => $lang->edit_profile_field_desc );
|