Make list unique before saving it

Created on 5 April 2023, almost 2 years ago
Updated 24 April 2023, over 1 year ago

Problem/Motivation

The blacklist is currently saved-as is. Duplicate entries are not removed.

I'd suggest to run https://www.php.net/manual/en/function.array-unique.php on the list before saving it, to erase duplicate entries. Duplicates simply make no sense and cost performance and time. Administrators shouldn't need to clean up by hands.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

🇩🇪Germany Anybody Porta Westfalica

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024