From 532ddf1d9a60f1555c904bb7dd5c2a8077814066 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Tue, 1 Jan 2013 19:08:46 -0600 Subject: [PATCH] fixed issue 1249, thanks Alan --- VERSION | 2 +- applications/admin/controllers/default.py | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 6cb2c025..601850df 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.4.1-alpha.2+timestamp.2013.01.01.19.02.47 +Version 2.4.1-alpha.2+timestamp.2013.01.01.19.08.01 diff --git a/applications/admin/controllers/default.py b/applications/admin/controllers/default.py index 4004402a..ba67a9f5 100644 --- a/applications/admin/controllers/default.py +++ b/applications/admin/controllers/default.py @@ -1493,7 +1493,9 @@ def errors(): else: for item in request.vars: - if item[:7] == 'delete_': + # delete_all} rows doesn't contain any ticket + # Remove anything else as requested + if item[:7] == 'delete_' and (not item == "delete_all}"): os.unlink(apath('%s/errors/%s' % (app, item[7:]), r=request)) func = lambda p: os.stat(apath('%s/errors/%s' % (app, p), r=request)).st_mtime