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