From 650086f97e62cd64e797ae78b9e1a811a1116525 Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Wed, 12 Jul 2017 05:38:30 +0100 Subject: [PATCH] fix dupe delete table to delete the correct row --- share/views/ajax/admintask/duplicatedevices.tt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/share/views/ajax/admintask/duplicatedevices.tt b/share/views/ajax/admintask/duplicatedevices.tt index 5b7f76bf..f843d438 100644 --- a/share/views/ajax/admintask/duplicatedevices.tt +++ b/share/views/ajax/admintask/duplicatedevices.tt @@ -16,7 +16,9 @@ + [% SET count = 0 %] [% FOREACH row IN results %] + [% SET count = count + 1 %] [% row.ip | html_entity %] @@ -31,15 +33,15 @@ -