diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-05-11 18:09:12 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-05-11 18:09:12 +0200 |
commit | e28b1a838942b05d79451428f4d2e8fef74cc324 (patch) | |
tree | e1037cc28c2a460088178333f2412648184b9991 /phpBB | |
parent | f37ff48e2c1edc643c25db6f213c56de6a27464e (diff) | |
parent | a7d1fd44eee44a8269255af8e76c4a1c8f291e06 (diff) | |
download | forums-e28b1a838942b05d79451428f4d2e8fef74cc324.tar forums-e28b1a838942b05d79451428f4d2e8fef74cc324.tar.gz forums-e28b1a838942b05d79451428f4d2e8fef74cc324.tar.bz2 forums-e28b1a838942b05d79451428f4d2e8fef74cc324.tar.xz forums-e28b1a838942b05d79451428f4d2e8fef74cc324.zip |
Merge pull request #2439 from prototech/ticket/12526
[ticket/12526] Fix undefined index: filesize when editing PM with attachments.
* prototech/ticket/12526:
[ticket/12526] Fix undefined index: filesize when editing PM with attachments.
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_compose.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php index 16b3ca8573..3a3343f199 100644 --- a/phpBB/includes/ucp/ucp_pm_compose.php +++ b/phpBB/includes/ucp/ucp_pm_compose.php @@ -492,7 +492,7 @@ function compose_pm($id, $mode, $action, $user_folders = array()) if ($message_attachment && !$submit && !$refresh && !$preview && $action == 'edit') { // Do not change to SELECT * - $sql = 'SELECT attach_id, is_orphan, attach_comment, real_filename + $sql = 'SELECT attach_id, is_orphan, attach_comment, real_filename, filesize FROM ' . ATTACHMENTS_TABLE . " WHERE post_msg_id = $msg_id AND in_message = 1 |