summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/PhpBB3.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/PhpBB3.php b/src/PhpBB3.php
index 4160e2c..d8b77b9 100644
--- a/src/PhpBB3.php
+++ b/src/PhpBB3.php
@@ -125,7 +125,8 @@ class PhpBB3 {
global $db;
- $sql = 'SELECT physical_filename, real_filename, mimetype ' .
+ $sql = 'SELECT physical_filename, real_filename, ' .
+ 'attach_comment, mimetype ' .
'FROM ' . ATTACHMENTS_TABLE . ' ' .
'WHERE attach_id = ' . $attachId;