From 2a17ed5b4269a7e42d46f18b204fef8e7fbd9346 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Thu, 13 Dec 2012 14:44:39 -0800 Subject: Bug 820574: Treat all tracking values ending in ? as requests --- extensions/BMO/Extension.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'extensions/BMO/Extension.pm') 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) { -- cgit v1.2.3-24-g4f1b