]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1372539 - Fix incorrect caching on bzapi/configuration
authorDylan William Hardison <dylan@hardison.net>
Tue, 13 Jun 2017 13:17:33 +0000 (09:17 -0400)
committerGitHub <noreply@github.com>
Tue, 13 Jun 2017 13:17:33 +0000 (09:17 -0400)
extensions/BzAPI/lib/Resources/Bugzilla.pm

index a75a2886414f8400b06b31a636d180ddf7ad139b..accbf71a701ed45362d64bd6000bdf753ce9e13b 100644 (file)
@@ -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) {