Version 14.80.18

This commit is contained in:
Antonio Cañas Vargas 2015-03-09 13:01:14 +01:00
parent 742db58ffb
commit fd6589dcf2
3 changed files with 4 additions and 3 deletions

View File

@ -103,11 +103,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.80.17 (2015/03/09)"
#define Log_PLATFORM_VERSION "SWAD 14.80.18 (2015/03/09)"
// 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 | tail -1
/*
Version 14.80.18: Mar 09, 2015 Fixed bug in statistic of degrees and courses. (179481 lines)
Version 14.80.17: Mar 09, 2015 Scope country for statistic of users. (179480 lines)
Version 14.80.16: Mar 09, 2015 Scope country for statistic of degrees and courses. (179439 lines)
Version 14.80.15: Mar 09, 2015 Scope country for statistic of webs / social networks. (179393 lines)

View File

@ -28,7 +28,7 @@
/** Uncomment one of the following installations of SWAD or create your own **/
/*****************************************************************************/
#define LOCALHOST_UBUNTU // Comment this line if not applicable
//#define LOCALHOST_UBUNTU // Comment this line if not applicable
//#define OPENSWAD_ORG // Comment this line if not applicable
//#define SWAD_UGR_ES // Comment this line if not applicable
//#define WWW_CEVUNA_UNA_PY // Comment this line if not applicable

View File

@ -4040,7 +4040,7 @@ static void Sta_GetAndShowNumInssInSWAD (void)
SubQuery[0] = '\0';
break;
case Sco_SCOPE_CTY:
NumInssTotal = 1;
NumInssTotal = Ins_GetNumInssInCty (Gbl.CurrentCty.Cty.CtyCod);
sprintf (SubQuery,"institutions.CtyCod='%ld' AND ",
Gbl.CurrentCty.Cty.CtyCod);
NumInssWithCtrs = Ins_GetNumInssWithCtrs (SubQuery);