diff options
author | David M <davidmj@users.sourceforge.net> | 2006-02-21 21:12:17 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-02-21 21:12:17 +0000 |
commit | 1a96cc09c1ae16b2e6a888b0c107a37a9bbc91e3 (patch) | |
tree | da76b053bcbfa0ba0f3c541bbc3c646acacf33c9 /phpBB | |
parent | 5cffb39239b64580230f23b1f565d773fb12cf14 (diff) | |
download | forums-1a96cc09c1ae16b2e6a888b0c107a37a9bbc91e3.tar forums-1a96cc09c1ae16b2e6a888b0c107a37a9bbc91e3.tar.gz forums-1a96cc09c1ae16b2e6a888b0c107a37a9bbc91e3.tar.bz2 forums-1a96cc09c1ae16b2e6a888b0c107a37a9bbc91e3.tar.xz forums-1a96cc09c1ae16b2e6a888b0c107a37a9bbc91e3.zip |
No functional change, just making it look nicer...
git-svn-id: file:///svn/phpbb/trunk@5569 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/includes/ucp/ucp_pm_viewfolder.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewfolder.php b/phpBB/includes/ucp/ucp_pm_viewfolder.php index be131a8130..2b342ba281 100644 --- a/phpBB/includes/ucp/ucp_pm_viewfolder.php +++ b/phpBB/includes/ucp/ucp_pm_viewfolder.php @@ -216,7 +216,7 @@ function view_folder($id, $mode, $folder_id, $folder, $type) case 'CSV_EXCEL': $mimetype = 'text/csv'; $filetype = 'csv'; - if ($type == 'csv_excel') + if ($type == 'CSV_EXCEL') { $enclosure = '"'; $delimiter = ','; @@ -235,7 +235,7 @@ function view_folder($id, $mode, $folder_id, $folder, $type) { $cell = str_replace($enclosure, $enclosure . $enclosure, $text); - if (strpos($cell, $enclosure) !== false || strpos($cell, $delimiter) !== FALSE || strpos($cell, $newline) !== FALSE) + if (strpos($cell, $enclosure) !== false || strpos($cell, $delimiter) !== false || strpos($cell, $newline) !== false) { $string .= $enclosure . $text . $enclosure . $delimiter; } |