mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fix #2102 wrong value on reset
This commit is contained in:
@@ -778,7 +778,7 @@ function remove_related_category(cat_id) {
|
||||
related_categories_ids.splice(cat_to_remove_index, 1);
|
||||
}
|
||||
if (related_categories_ids.length === 0) {
|
||||
related_categories_ids = '';
|
||||
related_categories_ids = [];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user