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