diff --git a/swad_changelog.h b/swad_changelog.h index c5169a5b8..3ecb6761b 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -233,13 +233,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.225.8 (2017-05-29)" +#define Log_PLATFORM_VERSION "SWAD 16.225.9 (2017-05-29)" #define CSS_FILE "swad16.222.css" #define JS_FILE "swad16.206.3.js" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1 /* + Version 16.225.9: May 29, 2017 Fixed minor bug in user administration. (220540 lines) Version 16.225.8: May 29, 2017 Statistics of hits in course accessible by non-editing teachers. Changes in error handlong in stats of hits. (220514 lines) Version 16.225.7: May 26, 2017 Fix bug in order of users when listing record cards of teachers. diff --git a/swad_user.c b/swad_user.c index 8e2772ea0..d86159fbe 100644 --- a/swad_user.c +++ b/swad_user.c @@ -6711,27 +6711,35 @@ void Usr_ListDataAdms (void) const char *FieldNames[Usr_NUM_MAIN_FIELDS_DATA_ADM]; /***** Put contextual links *****/ - if (Gbl.Usrs.Me.LoggedRole >= Rol_TCH) + switch (Gbl.Usrs.Me.LoggedRole) { - fprintf (Gbl.F.Out,"