From 976930f6f44030110f2c383b4c1e6744924e6050 Mon Sep 17 00:00:00 2001 From: Julian Prud'homme Date: Thu, 29 Mar 2007 11:23:57 +0200 Subject: [PATCH] [svn r11768] Fix a bug whith ' in category name --- main/dropbox/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/dropbox/index.php b/main/dropbox/index.php index ad57c9608c..d33f4dd408 100644 --- a/main/dropbox/index.php +++ b/main/dropbox/index.php @@ -387,7 +387,7 @@ if (!$_GET['view'] OR $_GET['view']=='received' OR $dropbox_cnf['sent_received_t $dropbox_category_data[]=''; // this is where the checkbox icon for the files appear // the icon of the category $dropbox_category_data[]=build_document_icon_tag('folder',$category['cat_name']); - $dropbox_category_data[]=''.get_lang('Save').''.$category['cat_name'].''; + $dropbox_category_data[]=''.get_lang('Save').''.stripslashes($category['cat_name']).''; $dropbox_category_data[]=''; $dropbox_category_data[]=''; $dropbox_category_data[]=''; @@ -531,7 +531,7 @@ if ($_GET['view']=='sent' OR $dropbox_cnf['sent_received_tabs']==false) { $dropbox_category_data[]=''; // this is where the checkbox icon for the files appear $dropbox_category_data[]=build_document_icon_tag('folder',$category['cat_name']); - $dropbox_category_data[]=''.get_lang('Save').''.$category['cat_name'].''; + $dropbox_category_data[]=''.get_lang('Save').''.stripslashes($category['cat_name']).''; $dropbox_category_data[]=''; $dropbox_category_data[]=''; $dropbox_category_data[]='';