Skip to content
Browse files

Fix rendered dispFireHose caching code for display options

  • Loading branch information...
1 parent 7ee4ce5 commit da047e5902306842b38d90d7ba0034a75a0b7bd9 @tvroom tvroom committed Dec 16, 2008
Showing with 4 additions and 2 deletions.
  1. +4 −2 plugins/FireHose/FireHose.pm
View
6 plugins/FireHose/FireHose.pm
@@ -1929,6 +1929,8 @@ sub genFireHoseMCDKey {
my $form = getCurrentForm();
my $constants = getCurrentStatic();
+ my $opts = $options->{options} || {};
+
my $mcd = $self->getMCD();
my $mcdkey;
@@ -1938,8 +1940,8 @@ sub genFireHoseMCDKey {
my $index = $form->{index} ? 1 : 0;
if ($mcd
- && !$options->{nodates} && !$options->{nobylines} && !$options->{nocolors}
- && !$options->{nothumbs} && !$options->{vote}
+ && !$opts->{nodates} && !$opts->{nobylines} && !$opts->{nocolors}
+ && !$opts->{nothumbs} && !$options->{vote}
&& !$form->{skippop}
&& !$user->{is_admin}) {
$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.