Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

1.) Fix from Martin (he ist not at home...)

rramthun8c0d98219156
diff --git a/htroot/index.html b/htroot/index.html
index d5980f24a..a4b83fb83 100644
--- a/htroot/index.html
+++ b/htroot/index.html
@@ -15,7 +15,7 @@
<form action="index.html" method="get">
<center><table border="0" cellspacing="0" cellpadding="0"><tr><td>
<input name="search" type="text" size="52" maxlength="80" value="#[former]#">
-<input type="submit" name="Enter" value="Search" onClick="with (this) { value = 'Searching...'; enabled = false; }">
+<input type="submit" name="Enter" value="Search" onClick="with (this) { value = 'Searching...'; disabled = true; }">
</td></tr><tr><td>
Max. number of results:
<select NAME="count">
diff --git a/source/de/anomic/server/serverAbstractSwitch.java b/source/de/anomic/server/serverAbstractSwitch.java
index 73d9e6ebd..a20fa4e48 100644
--- a/source/de/anomic/server/serverAbstractSwitch.java
+++ b/source/de/anomic/server/serverAbstractSwitch.java
@@ -99,7 +99,7 @@ public abstract class serverAbstractSwitch implements serverSwitch {
// doing a config settings migration
HashMap migratedSettings = yacyVersion.migrateSwitchboardConfigSettings(this,(HashMap) removedProps);
- configProps.putAll(migratedSettings);
+ if(migratedSettings!=null) configProps.putAll(migratedSettings);
// merge new props from init to config
// this is necessary for migration, when new properties are attached