return machine.toString();
}</BUG>
private String getFlag(String[] profiles) {
String flag = "Reader";
for (final String profile : profiles) {
<BUG>if (profile.equals("Admin")) {
return profile;</BUG>
}
<BUG>if (profile.equals("Publisher")) {
flag = profile;</BUG>
}

scc.getWebSitePathById(siteId) + "/" + nomPage;
}
return "/webSites/jsp/ouvertureSite.jsp?URL=" + EncodeHelper.javaStringToJsString(nomPage) +
"&Popup=" + sitedetail.getPopup();
}
private String getFlag(String[] profiles) {
String flag = "Reader";
for (final String profile : profiles) {
if (ADMIN_ROLE.equals(profile)) {
return profile;
