Skip to content

Commit

Permalink
fix issues #5 and #6 : Error "Please select a valid change frequency"…
Browse files Browse the repository at this point in the history
… when editing web content article
  • Loading branch information
evernat committed Dec 5, 2016
1 parent 63c7286 commit 093752a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void init(FilterConfig config) throws ServletException {
// que ces requêtes ayant un nombre variable de paramètres soient
// considérées comme différentes ;
// de fait cela agrège aussi les values des inserts
System.setProperty(Parameters.PARAMETER_SYSTEM_PREFIX + Parameter.SQL_TRANSFORM_PATTERN, "\\([\\?, ]+\\)");
System.setProperty(Parameters.PARAMETER_SYSTEM_PREFIX + Parameter.SQL_TRANSFORM_PATTERN.getCode(), "\\([\\?, ]+\\)");
}

if (Parameters.getParameter(Parameter.DISPLAYED_COUNTERS) == null) {
Expand All @@ -63,7 +63,7 @@ public void init(FilterConfig config) throws ServletException {
// the jsp counter does not display anything anyway.
// In consequence, jsf, job, ejb, jpa, spring, guice are also
// disabled.
System.setProperty(Parameters.PARAMETER_SYSTEM_PREFIX + Parameter.DISPLAYED_COUNTERS, "http,sql,error,log");
System.setProperty(Parameters.PARAMETER_SYSTEM_PREFIX + Parameter.DISPLAYED_COUNTERS.getCode(), "http,sql,error,log");
}

super.init(config);
Expand Down

0 comments on commit 093752a

Please sign in to comment.