Version 15.95.2

This commit is contained in:
Antonio Cañas Vargas 2016-01-04 10:36:24 +01:00
parent da7ffb778c
commit 744e9525a0
2 changed files with 4 additions and 3 deletions

View File

@ -112,19 +112,19 @@
// TODO: Hour in exam announcement should start at six a.m.
// TODO: Change "Actividad pública" to "Actividad de Antonio" in user's profile
// TODO: Forums For_FORUM_GLOBAL_USRS and For_FORUM_SWAD_USRS should be available for guests for coherence with social timeline?
// TODO: Unavailable social notes should not be shared
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.95.1 (2016-01-04)"
#define Log_PLATFORM_VERSION "SWAD 15.95.2 (2016-01-04)"
#define CSS_FILE "swad15.88.1.css"
#define JS_FILE "swad15.77.7.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 15.95.2: Jan 04, 2016 Unavailable social notes can not be shared. (190556 lines)
Version 15.95.1: Jan 04, 2016 Optimization in writing social note. (190555 lines)
Version 15.95: Jan 04, 2016 Fixed bug in social timeline: social notes can be shared, not social publishings. (190583 lines)
Version 15.94.1: Jan 04, 2016 Changes when writing an unavailable social note. (190557 lines)

View File

@ -532,7 +532,8 @@ static void Soc_WriteSocialNote (const struct SocialPublishing *SocPub,
else
// I have not yet published this social note
/* Put icon to share this publishing */
Soc_PutFormToShareSocialNote (SocNot->NotCod);
if (!SocNot->Unavailable) // Unavailable social notes can not be shared
Soc_PutFormToShareSocialNote (SocNot->NotCod);
}
}