mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Fixed bug with ROptions when one option is a substring of another
SVN revision: 2193
This commit is contained in:
parent
e003f59b61
commit
18a4a6b1de
@ -10531,7 +10531,7 @@ void show_edit_form(LOGBOOK * lbs, int message_id, BOOL breply, BOOL bedit, BOOL
|
|||||||
*strchr(str, '{') = 0;
|
*strchr(str, '{') = 0;
|
||||||
strencode2(enc_attr, attrib[index], sizeof(enc_attr));
|
strencode2(enc_attr, attrib[index], sizeof(enc_attr));
|
||||||
|
|
||||||
if (strstr(attrib[index], attr_options[index][i]) || strieq(str, enc_attr))
|
if (strieq(attrib[index], attr_options[index][i]) || strieq(str, enc_attr))
|
||||||
rsprintf
|
rsprintf
|
||||||
("<input type=radio id=\"%s\" name=\"%s\" value=\"%s\" checked onChange=\"mod();\">\n",
|
("<input type=radio id=\"%s\" name=\"%s\" value=\"%s\" checked onChange=\"mod();\">\n",
|
||||||
str, ua, str);
|
str, ua, str);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user