diff options
author | Cesar G <prototech91@gmail.com> | 2014-05-11 02:36:48 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2014-05-11 02:36:48 -0700 |
commit | a7d1fd44eee44a8269255af8e76c4a1c8f291e06 (patch) | |
tree | 035a5892eedeb8eb45cf6eaad1775bc6cce92b39 | |
parent | f2fc18b4b7cd2aa619ed448d338741501812031a (diff) | |
download | forums-a7d1fd44eee44a8269255af8e76c4a1c8f291e06.tar forums-a7d1fd44eee44a8269255af8e76c4a1c8f291e06.tar.gz forums-a7d1fd44eee44a8269255af8e76c4a1c8f291e06.tar.bz2 forums-a7d1fd44eee44a8269255af8e76c4a1c8f291e06.tar.xz forums-a7d1fd44eee44a8269255af8e76c4a1c8f291e06.zip |
[ticket/12526] Fix undefined index: filesize when editing PM with attachments.
PHPBB3-12526
-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 |