From 0e3e4199f0994560b620a78a61fe48fae0674878 Mon Sep 17 00:00:00 2001 From: Stefan Ritt Date: Wed, 25 Feb 2004 15:55:19 +0000 Subject: [PATCH] Expand substitutions with 'preset' and conditional attributes SVN revision: 794 --- src/elogd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/elogd.c b/src/elogd.c index 21ac1a7c..ae336dc4 100755 --- a/src/elogd.c +++ b/src/elogd.c @@ -6,6 +6,9 @@ Contents: Web server program for Electronic Logbook ELOG $Log$ + Revision 1.265 2004/02/25 15:55:19 midas + Expand substitutions with 'preset' and conditional attributes + Revision 1.264 2004/02/25 14:39:26 midas Automatic hot links terminated with a '.' get correctly displayed @@ -6498,7 +6501,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL if (!bedit || (breedit && i == 2)) { /* subst on reedit only if preset is under condition */ - i = build_subst_list(lbs, slist, svalue, NULL); + i = build_subst_list(lbs, slist, svalue, attrib); strsubst(preset, slist, svalue, i); /* check for index substitution */