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 page;
|
||||||
|
|
||||||
|
|
||||||
page = PageFactory.buildPage("PublicPersonalProfile",
|
page = PageFactory.buildPage("PublicPersonalProfile",
|
||||||
"");
|
"");
|
||||||
|
|
||||||
|
|
@ -182,12 +181,12 @@ public class PublicPersonalProfilesServlet extends BaseApplicationServlet {
|
||||||
GlobalizationHelper.
|
GlobalizationHelper.
|
||||||
getNegotiatedLocale().getLanguage());
|
getNegotiatedLocale().getLanguage());
|
||||||
|
|
||||||
if (profiles.isEmpty()) {
|
/*if (profiles.isEmpty()) {
|
||||||
profiles = getProfiles(session,
|
profiles = getProfiles(session,
|
||||||
profileOwner,
|
profileOwner,
|
||||||
preview,
|
preview,
|
||||||
GlobalizationHelper.LANG_INDEPENDENT);
|
GlobalizationHelper.LANG_INDEPENDENT);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
if (profiles.size() == 0) {
|
if (profiles.size() == 0) {
|
||||||
response.setStatus(HttpServletResponse.SC_NOT_FOUND);
|
response.setStatus(HttpServletResponse.SC_NOT_FOUND);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue