Permalink
Browse files

$TEMPNAME needs to be local()ized so other subsequent calls don't

permanently overwrite the value.
  • Loading branch information...
1 parent e41e39c commit 3d9696c4b42cfd676237623bcae2a12c360f9d6c @pudge pudge committed Apr 7, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 Slash/Display/Display.pm
@@ -177,7 +177,7 @@ sub slashDisplay {
name data opt origSection origPage tempdata
)};
- $TEMPNAME = 'anon';
+ local $TEMPNAME = 'anon';
unless (ref $name) {
# we don't want to have to call this here, but because
# it is cached the performance hit is generally light,

0 comments on commit 3d9696c

Please sign in to comment.