PublicPersonalProfile wird nur angezeigt, wenn es die passende Sprachvariante gibt.
git-svn-id: https://svn.libreccm.org/ccm/trunk@1395 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
8870fd44a6
commit
f07641e29c
|
|
@ -123,7 +123,6 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
|||
|
||||
Page page;
|
||||
|
||||
|
||||
page = PageFactory.buildPage("PublicPersonalProfile",
|
||||
"");
|
||||
|
||||
|
|
@ -182,12 +181,12 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
|||
GlobalizationHelper.
|
||||
getNegotiatedLocale().getLanguage());
|
||||
|
||||
if (profiles.isEmpty()) {
|
||||
/*if (profiles.isEmpty()) {
|
||||
profiles = getProfiles(session,
|
||||
profileOwner,
|
||||
preview,
|
||||
GlobalizationHelper.LANG_INDEPENDENT);
|
||||
}
|
||||
}*/
|
||||
|
||||
if (profiles.size() == 0) {
|
||||
response.setStatus(HttpServletResponse.SC_NOT_FOUND);
|
||||
|
|
|
|||
Loading…
Reference in New Issue