------------------------------------------------------------
revno: 5716
committer: Morten Olav Hansen <[email protected]>
branch nick: dhis2
timestamp: Thu 2012-01-12 14:46:32 +0530
message:
  (mobile) minor fix
modified:
  
dhis-2/dhis-web/dhis-web-light/src/main/java/org/hisp/dhis/light/dataentry/action/SaveSectionFormAction.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to 
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== 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]";
         }

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to