From 9865bd176bde875b1f1eaf4d4319c5c3b298ff69 Mon Sep 17 00:00:00 2001 From: ulrich Date: Sat, 10 Apr 2021 18:14:44 +0000 Subject: [PATCH] Fehler bei Abspielliste-Formular bei Cancel behoben --- src/de/uhilger/mediaz/api/ListHandler.java | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/de/uhilger/mediaz/api/ListHandler.java b/src/de/uhilger/mediaz/api/ListHandler.java index afe41c7..781145e 100644 --- a/src/de/uhilger/mediaz/api/ListHandler.java +++ b/src/de/uhilger/mediaz/api/ListHandler.java @@ -100,8 +100,7 @@ protected boolean delete(HttpExchange e) { String path = e.getRequestURI().toString(); String[] elems = path.split(Server.SLASH); - String plname = elems[elems.length - 2]; - String listName = elems[elems.length - 3]; + String listName = elems[elems.length - 2]; FileStorage fs = new FileStorage(App.getInitParameter(App.getRs(App.RB_AP_CONF))); Entity entity = fs.read(Abspielliste.class.getSimpleName(), listName); -- Gitblit v1.9.3