summaryrefslogtreecommitdiffstats
path: root/extensions/BzAPI/lib
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-06-13 15:17:33 +0200
committerGitHub <noreply@github.com>2017-06-13 15:17:33 +0200
commit04b05fb66b5b49f4b121dc2619cd921732662e19 (patch)
treee84a284e2844273f75055a8abf8d3c890945acda /extensions/BzAPI/lib
parent9243cbb3b6f014563d15c8b7ababdd55a722627a (diff)
downloadbugzilla-04b05fb66b5b49f4b121dc2619cd921732662e19.tar.gz
bugzilla-04b05fb66b5b49f4b121dc2619cd921732662e19.tar.xz
Bug 1372539 - Fix incorrect caching on bzapi/configuration
Diffstat (limited to 'extensions/BzAPI/lib')
-rw-r--r--extensions/BzAPI/lib/Resources/Bugzilla.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BzAPI/lib/Resources/Bugzilla.pm b/extensions/BzAPI/lib/Resources/Bugzilla.pm
index a75a28864..accbf71a7 100644
--- a/extensions/BzAPI/lib/Resources/Bugzilla.pm
+++ b/extensions/BzAPI/lib/Resources/Bugzilla.pm
@@ -59,7 +59,7 @@ sub get_configuration {
my $user = Bugzilla->user;
my $params = Bugzilla->input_params;
- my $can_cache = not exists $params->{product} and not exists $params->{flags};
+ my $can_cache = !exists $params->{product} && !exists $params->{flags};
my $cache_key = 'bzapi_get_configuration';
if ($can_cache) {