Changeset 1002

Show
Ignore:
Timestamp:
06/02/09 10:04:31 (4 years ago)
Author:
goldfd
Message:

got rid of a null pointer exception

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/mpdb-client/src/edu/rpi/metpetdb/client/ui/MetPetDBApplication.java

    r1001 r1002  
    358358                        } 
    359359                }); 
    360                 if (!GWT.getHostPageBaseURL().contains("metpetweb") || MpDb.currentUser.getEmailAddress().equalsIgnoreCase("goldfd@rpi.edu")); 
     360                if (!GWT.getHostPageBaseURL().contains("metpetweb") || (MpDb.isLoggedIn() && MpDb.currentUser.getEmailAddress().equalsIgnoreCase("goldfd@rpi.edu"))); 
    361361                        hdrnav.addItem("Developers", dev); 
    362362