Fixed problem with missing non-required attribute

SVN revision: 1585
This commit is contained in:
2005-12-21 20:33:26 +00:00
parent e8515d2718
commit c687555913
+1 -1
View File
@@ -18515,7 +18515,7 @@ void submit_elog(LOGBOOK * lbs)
if (attr_flags[i] & AF_MULTI)
strcat(ua, "_0");
if (isparam(ua) && attr_options[i][0][0]) {
if (isparam(ua) && *getparam(ua) && attr_options[i][0][0]) {
if (strieq(attr_options[i][0], "boolean")) {
if (atoi(getparam(ua)) != 0 && atoi(getparam(ua)) != 1) {