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
This commit is contained in:
flop25
2013-02-13 13:32:49 +00:00
parent a25f398952
commit d6abd25b6b
+1 -1
View File
@@ -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 = '