Parcourir la source

fix compile error

George Baugh il y a 1 an
Parent
commit
273fa70809
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      lib/TPSGI.pm

+ 2 - 2
lib/TPSGI.pm

@@ -498,8 +498,8 @@ sub _app {
 
 	# set the referer & ua to go into DB logs, but not logs in general.
     # The referer/ua largely has no importance beyond being a proto bug report for log messages.
-    $referer = $env->{HTTP_REFERER};
-    $ua      = $env->{HTTP_UA};
+    my $referer = $env->{HTTP_REFERER};
+    my $ua      = $env->{HTTP_UA};
 
     $cur_query = {
 		route    => $path,