=== modified file 'dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/dataentry/action/SaveSectionFormAction.java' --- dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/dataentry/action/SaveSectionFormAction.java 2012-01-04 12:55:23 +0000 +++ dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/dataentry/action/SaveSectionFormAction.java 2012-01-12 09:16:32 +0000 @@ -271,13 +271,13 @@ Period period = periodService.getPeriodByExternalId( periodId ); - String storedBy = currentUserService.getCurrentUsername(); - boolean needsValidation = false; dataSet = dataSetService.getDataSet( dataSetId ); - if ( StringUtils.isNotBlank( storedBy ) ) + String storedBy = currentUserService.getCurrentUsername(); + + if ( StringUtils.isBlank( storedBy ) ) { storedBy = "[unknown]"; }