From bf4806ee95dd895df48c1dec1789ad61bae60b14 Mon Sep 17 00:00:00 2001 From: John Hinojosa Date: Thu, 13 Aug 2009 12:33:45 -0500 Subject: [PATCH] fixed DT#5102 - Bug in term & condition button and icon export add param false in function get_extra_fields --- main/mySpace/index.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) mode change 100644 => 100755 main/mySpace/index.php diff --git a/main/mySpace/index.php b/main/mySpace/index.php old mode 100644 new mode 100755 index 820a212cfa..1480b5f06c --- a/main/mySpace/index.php +++ b/main/mySpace/index.php @@ -211,10 +211,8 @@ if($nb_menu_items>1) } } } -echo ' -  '.get_lang('Print').' -  '.get_lang('ExportAsCSV').' -'; +echo ' '.get_lang('Print').' '; +echo (isset($_GET['display']) && $_GET['display'] == 'useroverview')? '' : ' '.get_lang('ExportAsCSV').''; echo ''; echo '

'.$title.'

'; @@ -1162,7 +1160,7 @@ function display_user_overview_export_options() if ($_GET['export'] == 'options') { // get all the defined extra fields - $extrafields = UserManager::get_extra_fields(0,50,5,'ASC'); + $extrafields = UserManager::get_extra_fields(0,50,5,'ASC', false); // creating the form with all the defined extra fields $form = new FormValidator('exportextrafields', 'post', api_get_self()."?view=".Security::remove_XSS($_GET['view']).'&display='.Security::remove_XSS($_GET['display']).'&export='.Security::remove_XSS($_GET['export']));