From 993d764a13a5806d65dbddda9913e87a68eba300 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 27 Oct 2015 16:50:47 -0500 Subject: [PATCH] Fix user edit by DRH - refs BT#9609 --- main/mySpace/user_edit.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main/mySpace/user_edit.php b/main/mySpace/user_edit.php index 1c2949af7a..7c1caacdb5 100644 --- a/main/mySpace/user_edit.php +++ b/main/mySpace/user_edit.php @@ -8,7 +8,6 @@ require_once '../inc/global.inc.php'; $libpath = api_get_path(LIBRARY_PATH); require_once $libpath.'fileManage.lib.php'; require_once $libpath.'fileUpload.lib.php'; -require_once $libpath.'mail.lib.inc.php'; // user permissions api_block_anonymous_users(); @@ -109,7 +108,7 @@ $defaults['password']['password_auto'] = 1; $form->setDefaults($defaults); // Submit button $select_level = array (); -$html_results_enabled[] = $form->createElement('style_submit_button', 'submit', get_lang('Update')); +$html_results_enabled[] = $form->addButtonUpdate(get_lang('Update'), 'submit', true); $form->addGroup($html_results_enabled); // Validate form if ($form->validate()) {