Changeset 14338


Ignore:
Timestamp:
2007-08-08T13:35:49+12:00 (15 years ago)
Author:
qq6
Message:

updated DerbyWrapper.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/util/DerbyWrapper.java

    r14335 r14338  
    186186    }
    187187    conn.commit();
    188     if (userQueryResult.getSize()==0){
     188    if (userQueryResult.getSize()>0){
     189        return  userQueryResult;
     190    }else{
    189191        System.out.println("couldn't find the user");
    190192        return null;
    191     }else{
    192         return  userQueryResult;
    193193    }
    194194    }
Note: See TracChangeset for help on using the changeset viewer.