From d6abd25b6b5f74129653441d04957998ddd63098 Mon Sep 17 00:00:00 2001 From: flop25 Date: Wed, 13 Feb 2013 13:32:49 +0000 Subject: bug:2841 doesn't duplicate using 'merge' action on only one group git-svn-id: http://piwigo.org/svn/trunk@20740 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/group_list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/group_list.php') diff --git a/admin/group_list.php b/admin/group_list.php index 3d5dc6d78..390107613 100644 --- a/admin/group_list.php +++ b/admin/group_list.php @@ -164,7 +164,7 @@ if (isset($_POST['submit']) and isset($_POST['selectAction']) and isset($_POST[' // |merge groups into a new one // + - if ($action=="merge" ) + if ($action=="merge" and count($groups) > 1) { // is the group not already existing ? $query = ' -- cgit v1.2.3