mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed problem with auto index and missing attribute
SVN revision: 2076
This commit is contained in:
parent
b3e3cf0ceb
commit
5149f9ae59
@ -8630,7 +8630,7 @@ auto-increment tags */
|
|||||||
el_retrieve(lbs, message_id, NULL, attr_list, attrib, lbs->n_attr, NULL, 0, NULL, NULL, att, NULL, NULL);
|
el_retrieve(lbs, message_id, NULL, attr_list, attrib, lbs->n_attr, NULL, 0, NULL, NULL, att, NULL, NULL);
|
||||||
|
|
||||||
/* if date part changed, start over with index */
|
/* if date part changed, start over with index */
|
||||||
if (strncmp(attrib[index], retstr, loc) != 0)
|
if (strlen(attrib[index]) > 0 && strncmp(attrib[index], retstr, loc) != 0)
|
||||||
old_index = 0;
|
old_index = 0;
|
||||||
else
|
else
|
||||||
/* retrieve old index */
|
/* retrieve old index */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user