##// END OF EJS Templates
settings: fix potential 500 problem on bad data passed in.
marcink -
r2364:eaad6b1e default
parent child Browse files
Show More
@@ -382,7 +382,7 b' class IssueTrackerSettingsModel(object):'
382 else:
382 else:
383 all_patterns = self.get_global_settings()
383 all_patterns = self.get_global_settings()
384 settings_model = self.global_settings
384 settings_model = self.global_settings
385 entries = all_patterns.get(uid)
385 entries = all_patterns.get(uid, [])
386
386
387 for del_key in entries:
387 for del_key in entries:
388 setting_name = self._get_keyname(del_key, uid)
388 setting_name = self._get_keyname(del_key, uid)
General Comments 0
You need to be logged in to leave comments. Login now