changeset 554:1d5609ae2335 digilibPDF

better string handling
author robcast
date Thu, 16 Dec 2010 11:40:54 +0100
parents d3b29ccdef32
children 88ed97d08b97
files servlet/src/digilib/servlet/Parameter.java
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/servlet/src/digilib/servlet/Parameter.java	Wed Dec 15 10:52:56 2010 +0100
+++ b/servlet/src/digilib/servlet/Parameter.java	Thu Dec 16 11:40:54 2010 +0100
@@ -97,6 +97,9 @@
 	 * @return
 	 */
 	public boolean setValueFromString(String val) {
+		if (val == null) {
+			val = "";
+		}
 		// no default matches all
 		if (defval == null) {
 			this.value = val;