mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02: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);
|
related_categories_ids.splice(cat_to_remove_index, 1);
|
||||||
}
|
}
|
||||||
if (related_categories_ids.length === 0) {
|
if (related_categories_ids.length === 0) {
|
||||||
related_categories_ids = '';
|
related_categories_ids = [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user