summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/BMO/Extension.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index f3940cb26..ca6133e82 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -379,7 +379,7 @@ sub _check_trusted {
sub _is_field_set {
my $value = shift;
- return $value ne '---' && $value ne '?';
+ return $value ne '---' && $value !~ /\?$/;
}
sub bug_check_can_change_field {
@@ -409,8 +409,8 @@ sub bug_check_can_change_field {
push (@$priv_results, PRIVILEGES_REQUIRED_EMPOWERED);
}
}
-
- if ($new_value eq '?') {
+
+ if ($new_value =~ /\?$/) {
_check_trusted($field, $blocking_trusted_requesters, $priv_results);
}
if ($user->id) {