summaryrefslogtreecommitdiff
path: root/src/PhpBB3.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/PhpBB3.php')
-rw-r--r--src/PhpBB3.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/PhpBB3.php b/src/PhpBB3.php
index 72700ce..24fe25c 100644
--- a/src/PhpBB3.php
+++ b/src/PhpBB3.php
@@ -265,9 +265,9 @@ class PhpBB3 {
') VALUES (' .
$userId . ', ' .
'1, ' .
- $db->sql_escape($realFilename) . ', ' .
- $db->sql_escape($comment) . ', ' .
- $db->sql_escape($mimetype) . ', ' .
+ '"' . $db->sql_escape($realFilename) . '", ' .
+ '"' . $db->sql_escape($comment) . '", ' .
+ '"' . $db->sql_escape($mimetype) . '", ' .
strlen($data) . ', ' .
time() .
')';