aboutsummaryrefslogtreecommitdiffstats
path: root/admin/group_list.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-02-13 13:32:49 +0000
committerflop25 <flop25@piwigo.org>2013-02-13 13:32:49 +0000
commitd6abd25b6b5f74129653441d04957998ddd63098 (patch)
tree942bedf6a79ac937bbc681e377abeb593256f0e0 /admin/group_list.php
parenta25f398952629cd7817503e784a07cfa2a5a9e6b (diff)
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
Diffstat (limited to 'admin/group_list.php')
-rw-r--r--admin/group_list.php2
1 files changed, 1 insertions, 1 deletions
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 = '