fix for empty message bases on www
This commit is contained in:
parent
999ec8871d
commit
9b20880e66
@ -134,7 +134,7 @@ char *www_msgs_messagelist(struct user_record *user, int conference, int area, i
|
||||
|
||||
if (mhrs == NULL) {
|
||||
stralloc_cats(&page, "<h3>No Messages</h3>\n");
|
||||
}
|
||||
} else {
|
||||
|
||||
stralloc_cats(&page, "<div class=\"div-table\">\n");
|
||||
|
||||
@ -204,9 +204,10 @@ char *www_msgs_messagelist(struct user_record *user, int conference, int area, i
|
||||
}
|
||||
stralloc_cats(&page, buffer);
|
||||
}
|
||||
free_message_headers(mhrs);
|
||||
}
|
||||
stralloc_0(&page);
|
||||
|
||||
free_message_headers(mhrs);
|
||||
return page.s;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user