Skip to content

Commit

Permalink
SAK-45979 - Preferences - Error on Privacy Status
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm committed Aug 14, 2021
1 parent 500b518 commit 80bd741
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

import lombok.extern.slf4j.Slf4j;

import org.apache.commons.lang3.StringUtils;
import org.sakaiproject.authz.api.AuthzGroup;
import org.sakaiproject.api.privacy.PrivacyManager;
import org.sakaiproject.tool.cover.SessionManager;
Expand Down Expand Up @@ -368,7 +369,7 @@ public void processSiteSelected(ValueChangeEvent e) {
allChanged = false;
noSiteProcessErr = false;

if ("".equals((String) e.getNewValue())) {
if (StringUtils.isEmpty((String) e.getNewValue())) {
siteSelected = false;
} else {
curSite = (String) e.getNewValue();
Expand Down

0 comments on commit 80bd741

Please sign in to comment.