mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-10 18:23:28 +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);
|
||||
|
||||
/* 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;
|
||||
else
|
||||
/* retrieve old index */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user