From 2422f782de275e13686d00d7c54b33f2dcc1ac62 Mon Sep 17 00:00:00 2001 From: Ozzieisaacs Date: Sat, 17 Nov 2018 16:51:30 +0100 Subject: [PATCH] Fix #701 --- cps/web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/web.py b/cps/web.py index a72e3afc..d8544386 100644 --- a/cps/web.py +++ b/cps/web.py @@ -591,7 +591,7 @@ def modify_database_object(input_elements, db_book_object, db_object, db_session if db_type == 'custom' and db_element.value != add_element: new_element.value = add_element # new_element = db_element - elif db_type == 'language' and db_element.lang_code != add_element: + elif db_type == 'languages' and db_element.lang_code != add_element: db_element.lang_code = add_element # new_element = db_element elif db_type == 'series' and db_element.name != add_element: