[Lada-commits] [PATCH 1 of 5] Fix copy-paste error

Wald Commits scm-commit at wald.intevation.org
Thu Feb 11 16:28:08 CET 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1455203740 -3600
# Node ID c0883477db3f7810d793d40f04944b78ece7c13e
# Parent  9c5a5afb6708df0636c3eb04a9f77430a25f4923
Fix copy-paste error.

diff -r 9c5a5afb6708 -r c0883477db3f src/main/java/de/intevation/lada/validation/rules/status/StatusFolge.java
--- a/src/main/java/de/intevation/lada/validation/rules/status/StatusFolge.java	Thu Feb 11 12:28:21 2016 +0100
+++ b/src/main/java/de/intevation/lada/validation/rules/status/StatusFolge.java	Thu Feb 11 16:15:40 2016 +0100
@@ -68,7 +68,7 @@
         kombi2.and("stufeId", last.getStatusStufe());
         kombi2.and("wertId", last.getStatusWert());
         List<StatusKombi> result2 =
-            repository.filterPlain(kombi.getQuery(), "stamm");
+            repository.filterPlain(kombi2.getQuery(), "stamm");
         if (result2.isEmpty()) {
             Violation violation = new Violation();
             violation.addError("status", 632);


More information about the Lada-commits mailing list