Bugfix: Phrasen: local variable has overwritten function parameter

This commit is contained in:
cgfhtw
2023-10-11 14:57:44 +02:00
parent af89ec3942
commit 95d3b6ac5b
+1 -1
View File
@@ -63,7 +63,7 @@ const phrasen = {
var initialval = '';
if (window.FHC_JS_PHRASES_STORAGE_OBJECT !== undefined) {
var tmp_category = extractCategory(FHC_JS_PHRASES_STORAGE_OBJECT, category);
if(category[phrase] !== undefined ) {
if(tmp_category[phrase] !== undefined ) {
initialval = tmp_category[phrase];
}
}