From c687555913cdec681900b23ef3580d7529873a5f Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 21 Dec 2005 20:33:26 +0000 Subject: [PATCH] Fixed problem with missing non-required attribute SVN revision: 1585 --- src/elogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index e6e27405..84024b36 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -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) {