Permalink
Browse files

Item14068: fix excessive calls of getPreferences()

  • Loading branch information...
1 parent 2855ba7 commit 85585c76df578bbdc23979265ed2c57e43f76419 MichaelDaum committed May 10, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/lib/Foswiki/Render.pm
@@ -1380,10 +1380,10 @@ sub _renderExistingWikiWord {
$this->{LINKTOOLTIPINFO} = '$username - $date - r$rev: $summary';
}
elsif ( $this->{LINKTOOLTIPINFO} =~ m/^([Oo][Ff][Ff])?$/ ) {
- undef $this->{LINKTOOLTIPINFO};
+ $this->{LINKTOOLTIPINFO} = '';
}
}
- if ( defined $this->{LINKTOOLTIPINFO}
+ if ( $this->{LINKTOOLTIPINFO} ne ''
&& $this->{session}->inContext('view') )
{
require Foswiki::Render::ToolTip;

0 comments on commit 85585c7

Please sign in to comment.