Skip to content

Commit

Permalink
Remove redundant global declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Oct 24, 2024
1 parent e9130de commit 4d7c3c6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/edit_entry.php
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,7 @@ function get_field_privacy_status(bool $value, bool $disabled=false) : ?FieldInp
function get_field_custom(string $key, bool $disabled=false)
{
global $custom_fields, $custom_fields_map;
global $is_mandatory_field, $text_input_max;
global $select_options, $datalist_options;
global $is_mandatory_field;

// TODO: have a common way of generating custom fields for all tables

Expand Down

0 comments on commit 4d7c3c6

Please sign in to comment.