Skip to content
Snippets Groups Projects
Commit 05555ba5 authored by echicken's avatar echicken
Browse files

If a maxMessages limit has been defined, only report up to this number of...

If a maxMessages limit has been defined, only report up to this number of messages per sub in the list.
parent d5553b23
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ function printBoards() {
);
var msgBase = new MsgBase(msg_area.grp_list[g].sub_list[s].code);
msgBase.open();
out += msgBase.total_msgs + " messages.<br />";
out += ((webIni.maxMessages > 0 && webIni.maxMessages < msgBase.total_msgs)?webIni.maxMessages:msgBase.total_msgs) + " messages.<br />";
var h = msgBase.get_msg_header(msgBase.last_msg);
msgBase.close();
if(h !== null)
......
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