* Console:

- Fix NPE after restart (ticket #763)
   - Move more nonces out of system properties
This commit is contained in:
zzz
2012-11-05 17:17:31 +00:00
parent 202c92a42d
commit d5c70676b0
10 changed files with 37 additions and 38 deletions

View File

@@ -606,7 +606,7 @@ public class SummaryBarRenderer {
NewsHelper newshelper = _helper.getNewsHelper();
if (newshelper == null || newshelper.shouldShowNews()) return "";
StringBuilder buf = new StringBuilder(512);
String consoleNonce = System.getProperty("router.consoleNonce");
String consoleNonce = CSSHelper.getNonce();
if (consoleNonce != null) {
// Set up title and pre-headings stuff.
buf.append("<h3><a href=\"/configupdate\">")