Skip to content
Snippets Groups Projects
Commit bee29af4 authored by deuce's avatar deuce
Browse files

Also use old style code of max isn't the zero/undefined/first value.

parent f4ac19d4
No related branches found
No related tags found
No related merge requests found
......@@ -380,7 +380,7 @@ function getMessageThreads(sub, max) {
max = msgBase.first_msg;
else
max = msgBase.last_msg - max;
if(msgBase.get_all_msg_headers !== undefined)
if(msgBase.get_all_msg_headers !== undefined && max <= msgBase.first_msg)
all_headers=msgBase.get_all_msg_headers();
else {
for(m=max; m <= msgBase.last_msg; m++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment