mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
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
This commit is contained in:
@@ -82,8 +82,9 @@ if (isset($_POST['submit']))
|
||||
{
|
||||
$_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'] );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user