File: includes/ucp/ucp_pm_viewfolder.php
Unmodified
Added
Modified
Removed
Line 31 | Line 31 |
---|
$submit_export = (isset($_POST['submit_export'])) ? true : false;
$folder_info = get_pm_from($folder_id, $folder, $user->data['user_id']);
|
$submit_export = (isset($_POST['submit_export'])) ? true : false;
$folder_info = get_pm_from($folder_id, $folder, $user->data['user_id']);
|
| add_form_key('ucp_pm_view');
|
if (!$submit_export) {
| if (!$submit_export) {
|
Line 196 | Line 198 |
---|
$export_type = $request->variable('export_option', ''); $enclosure = $request->variable('enclosure', ''); $delimiter = $request->variable('delimiter', '');
|
$export_type = $request->variable('export_option', ''); $enclosure = $request->variable('enclosure', ''); $delimiter = $request->variable('delimiter', '');
|
| if (!check_form_key('ucp_pm_view')) { trigger_error('FORM_INVALID'); }
|
if ($export_type == 'CSV' && ($delimiter === '' || $enclosure === '')) {
| if ($export_type == 'CSV' && ($delimiter === '' || $enclosure === '')) {
|