fixed parse error
Added a modification to param() function that caused the param function not to return the default values if the input was set, but empty (eg from a form submit). Now the function returns the default value if the POST/GET/etc value is NULL;