Version 15.125.3

This commit is contained in:
Antonio Cañas Vargas 2016-01-24 15:10:23 +01:00
parent dacbd0628e
commit 7852e38ef2
2 changed files with 3 additions and 2 deletions

View File

@ -127,13 +127,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.125.2 (2016-01-24)"
#define Log_PLATFORM_VERSION "SWAD 15.125.3 (2016-01-24)"
#define CSS_FILE "swad15.121.7.css"
#define JS_FILE "swad15.121.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.125.3: Jan 24, 2016 Fixed bug when unsharing a social note. (194610 lines)
Version 15.125.2: Jan 24, 2016 Mark notifications as removed after removing a comment to a social note. (194609 lines)
Version 15.125.1: Jan 24, 2016 Mark notifications as removed after removing a social note. (194603 lines)
Version 15.125: Jan 24, 2016 Code refactoring in social timeline. (194563 lines)

View File

@ -3095,7 +3095,7 @@ static long Soc_UnshareSocialNote (void)
/***** Delete social publishing from database *****/
sprintf (Query,"DELETE FROM social_pubs"
" WHERE NotCod='%ld'"
" AND Publisher='%ld'"
" AND PublisherCod='%ld'"
" AND PubType='%u'",
SocNot.NotCod,
Gbl.Usrs.Me.UsrDat.UsrCod,