mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	bug fix : correct setting name when changing a 'requires restart' setting
This commit is contained in:
		| @@ -571,7 +571,7 @@ class InvenTreeSetting(BaseInvenTreeSetting): | |||||||
|         super().save() |         super().save() | ||||||
|  |  | ||||||
|         if self.requires_restart(): |         if self.requires_restart(): | ||||||
|             InvenTreeSetting.set_setting('SERVER_REQUIRES_RESTART', True, None) |             InvenTreeSetting.set_setting('SERVER_RESTART_REQUIRED', True, None) | ||||||
|  |  | ||||||
|     """ |     """ | ||||||
|     Dict of all global settings values: |     Dict of all global settings values: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user