From ac26d6f2e39effcd35eafe1c502bcde172c8b31b Mon Sep 17 00:00:00 2001 From: uckelman Date: Tue, 20 Apr 2010 20:41:29 +0000 Subject: Don't need comment to be returned. git-svn-id: https://vassalengine.svn.sourceforge.net/svnroot/vassalengine/site-src/trunk@6723 67b53d14-2c14-4ace-a08f-0dab2b34000c --- src/PhpBB3.php | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3