# HG changeset patch # User Marcin Kuzminski # Date 2019-12-05 14:14:56 # Node ID 1085ccabbdb2de6e525fa45e857f6a564c1a2bb9 # Parent 54164c4ef3fea8de24aa3b7930c6b56fa5e677c9 helpers: fixed options generation typo. diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -191,7 +191,7 @@ def select(name, selected_values, option option_group = options.add_optgroup(label) for opt2 in value: if isinstance(opt2, tuple) and len(opt2) == 2: - group_value, group_label = opt + group_value, group_label = opt2 elif isinstance(opt2, basestring): group_value = group_label = opt2 else: