changeset 602:328dd57b7b43

Fixed messung delete operation.
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 08 Apr 2015 10:45:55 +0200
parents ddab1ecb2898
children 34b38ff45990
files src/main/java/de/intevation/lada/rest/MessungService.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/MessungService.java	Wed Apr 08 10:45:27 2015 +0200
+++ b/src/main/java/de/intevation/lada/rest/MessungService.java	Wed Apr 08 10:45:55 2015 +0200
@@ -195,7 +195,7 @@
         LMessung messungObj = (LMessung)messung.getData();
         if (!authorization.isAuthorized(
                 request,
-                messung,
+                messungObj,
                 RequestMethod.DELETE,
                 LMessung.class)
         ) {
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)