minor bug fix when saving user notifications

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portal/social-networking-library@68673 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2013-01-31 23:29:39 +00:00
parent 83cbf841a7
commit 75dd508ba0
2 changed files with 1090 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -949,7 +949,7 @@ public final class DBCassandraAstyanaxImpl implements DatabookStore {
for (Row<String, String> row : result.getResult()) {
for (Column<String> column : row.getColumns())
if (column.getName().compareTo(channel.toString()) == 0 && (column.getBooleanValue() != enabled) ) {
m.withRow(cf_UserNotificationsSettings, userid).putColumn(channel.toString(), enabled, null);
m.withRow(cf_UserNotificationsSettings, userid).putColumn(channel.toString(), ""+enabled, null);
settingExists = true;
break;
}