diff options
| author | 2025-09-01 17:29:54 -0400 | |
|---|---|---|
| committer | 2025-09-01 23:29:54 +0200 | |
| commit | b2a82b64b5714c66f9e0e291b967bcaa536bf041 (patch) | |
| tree | baadc8e4ea103b13c81a6535f7e46d38e394702b /cli/db-optimize.php | |
| parent | d31f485973f7e38239b59b17fc43e9f3ab64695f (diff) | |
fix: add validation when creating a new tag (#7890)
A tag name must be unique and can't be used as a category. There were no error message when creating a tag identical to an existing category. Now, this is addressed.
See #7686
Closes #7686
Changes proposed in this pull request:
- add validation on tag creation
How to test the feature manually:
1. create a new category (ex: `HW`)
2. create a new tag with the same name as the new category (ex: `HW`)
3. validate that the appropriate error message is displayed
Diffstat (limited to 'cli/db-optimize.php')
0 files changed, 0 insertions, 0 deletions
