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

Delete messages by number, not offset.

parent 2ec655c3
No related branches found
No related tags found
No related merge requests found
......@@ -13,8 +13,8 @@ if(http_request.query.Action=="Delete Message(s)") {
var deleted=0;
var errors=0;
errorlist=new Array;
for(off in http_request.query.offset) {
if(msgbase.remove_msg(true,parseInt(http_request.query.offset[off])))
for(num in http_request.query.number) {
if(msgbase.remove_msg(false,parseInt(http_request.query.number[num])))
deleted++;
else {
errors++;
......
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