Skip to content
Permalink
Browse files

merge r12590 from branch 2.3 to trunk

bug 2497 fixed: never try to move a physical album


git-svn-id: http://piwigo.org/svn/trunk@12591 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information...
plegall committed Nov 8, 2011
1 parent 87aa694 commit 16c1226ad3cb138f1b87a8521d714639322c4913
Showing with 3 additions and 2 deletions.
  1. +3 −2 admin/cat_modify.php
@@ -82,8 +82,9 @@
{
$_POST['parent'] = null;
}
if ($cat_info['id_uppercat'] != $_POST['parent'])
// only move virtual albums
if (empty($cat_info['dir']) and $cat_info['id_uppercat'] != $_POST['parent'])
{
move_categories( array($_GET['cat_id']), $_POST['parent'] );
}

0 comments on commit 16c1226

Please sign in to comment.
You can’t perform that action at this time.