aboutsummaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/globals.pl b/globals.pl
index 37ecdafbe..d8e5672e0 100644
--- a/globals.pl
+++ b/globals.pl
@@ -213,7 +213,7 @@ sub SendSQL {
# b) We want to know who called SendSQL...
# Is there a better way to do b?
if (is_tainted($str)) {
- die "Attempted to send tainted string to the database";
+ die "Attempted to send tainted string '$str' to the database";
}
my $iswrite = ($str =~ /^(INSERT|REPLACE|UPDATE|DELETE)/i);