From 05f1315ebb96b46ea384df73d387aeb05602d2b5 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Thu, 8 Jul 2004 22:41:04 +0000 Subject: - remove output buffering options from download.php (not needed anymore) - optimized viewtopic.php a little bit - removed the create_function (was consuming too much memory) from viewtopic - check for manually added convert[.exe] program name to imagemagick path in admin_attachments - reduced filesize checking for imagemagick program (some installations require less than 20k) - added checked="checked" for "not selected" topic icon - moved parse_text_display function from functions_posting.php to functions.php (see comment above function) - check for user_id != ANONYMOUS in page_footer for displaying the administration link (there seems to be a problem checking for global options) - rewrote attachment thumbnail functions - utilize GD2 functions if available, more uptodate checks... - changed final thumbnail size calculation - define S_ROW_COUNT within template class itself - added SID to template vars in page_header - added ability to view topic/forum within admin_viewlogs - added optional acl checking to make_jumpbox, no need to duplicate the function for this small need - added custom body file for confirm_box git-svn-id: file:///svn/phpbb/trunk@4920 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_privmsgs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/functions_privmsgs.php') diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index ad7502cb12..97054a6a74 100644 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -355,7 +355,8 @@ function place_pm_into_folder($global_privmsgs_rules, $release = false) { case ACTION_PLACE_INTO_FOLDER: $folder_action = true; - $move_into_folder[$rule_ary['folder_id']][] = $msg_id; + $_folder_id = (int) $rule_ary['folder_id']; + $move_into_folder[$_folder_id][] = $msg_id; $num_new++; break; -- cgit v1.2.1