Improved: Fix issues reported by SonarQube analysis on Github (OFBIZ-12284)
Fixes few bugs
This commit is contained in:
@@ -27,7 +27,8 @@ ServletContext context = pageContext.getServletContext();
|
||||
String webSiteId = WebSiteWorker.getWebSiteId(request);
|
||||
List<GenericValue> webAnalytics = delegator.findByAnd("WebAnalyticsConfig", UtilMisc.toMap("webSiteId", webSiteId), null, false);
|
||||
%>
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Error 404</title>
|
||||
<%if (webAnalytics != null) {%>
|
||||
@@ -40,7 +41,7 @@ List<GenericValue> webAnalytics = delegator.findByAnd("WebAnalyticsConfig", Util
|
||||
</head>
|
||||
<body>
|
||||
<p>
|
||||
<b>404.</b>
|
||||
<strong>404.</strong>
|
||||
<ins>That's an error.</ins>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
@@ -407,14 +407,13 @@ footer {
|
||||
position: absolute;
|
||||
z-index: 999;
|
||||
top: 3.1em;
|
||||
t\op: 3.0em;
|
||||
left: 0;
|
||||
marg\in-top: 0.1em;
|
||||
margin-top: 0.1em;
|
||||
}
|
||||
|
||||
.nav2 ul li a:hover ul li a {
|
||||
display: block;
|
||||
w\idth: 10.0em;
|
||||
width: 10.0em;
|
||||
height: 1px;
|
||||
line-height: 1.3em;
|
||||
padding: 4px 16px 4px 16px;
|
||||
|
||||
Reference in New Issue
Block a user