@ -554,7 +554,7 @@ public class dbItemHandler extends dbHandlerBase {
// Write 0 if we will not modify the value from template
if (item.value == item.template.item_value)
if (value == item.template.item_value)
value = 0;
try (Connection connection = DbManager.getConnection();