Improved: Fix issues reported by SonarQube analysis on Github (OFBIZ-12284)

Fixes few bugs
This commit is contained in:
Jacques Le Roux
2021-08-06 18:16:41 +02:00
parent eee69f91c5
commit 874c830fbb
2 changed files with 5 additions and 5 deletions
+3 -2
View File
@@ -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&#39;s an error.</ins>
</p>
<p>
+2 -3
View File
@@ -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;