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:
parent
83cbf841a7
commit
75dd508ba0
1089
.gwt/.gwt-log
1089
.gwt/.gwt-log
File diff suppressed because it is too large
Load Diff
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue