Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix rendered dispFireHose caching code for display options

  • Loading branch information...
commit da047e5902306842b38d90d7ba0034a75a0b7bd9 1 parent 7ee4ce5
Tim Vroom authored

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. +4 2 plugins/FireHose/FireHose.pm
6 plugins/FireHose/FireHose.pm
@@ -1929,6 +1929,8 @@ sub genFireHoseMCDKey {
1929 1929 my $form = getCurrentForm();
1930 1930 my $constants = getCurrentStatic();
1931 1931
  1932 + my $opts = $options->{options} || {};
  1933 +
1932 1934 my $mcd = $self->getMCD();
1933 1935 my $mcdkey;
1934 1936
@@ -1938,8 +1940,8 @@ sub genFireHoseMCDKey {
1938 1940 my $index = $form->{index} ? 1 : 0;
1939 1941
1940 1942 if ($mcd
1941   - && !$options->{nodates} && !$options->{nobylines} && !$options->{nocolors}
1942   - && !$options->{nothumbs} && !$options->{vote}
  1943 + && !$opts->{nodates} && !$opts->{nobylines} && !$opts->{nocolors}
  1944 + && !$opts->{nothumbs} && !$options->{vote}
1943 1945 && !$form->{skippop}
1944 1946 && !$user->{is_admin}) {
1945 1947 $mcdkey = "$self->{_mcd_keyprefix}:dispfirehose-$options->{mode}:$id:$index";

0 comments on commit da047e5

Please sign in to comment.
Something went wrong with that request. Please try again.