Changeset 12590 for branches/2.3/admin


Ignore:
Timestamp:
Nov 8, 2011, 3:37:20 PM (13 years ago)
Author:
plg
Message:

bug 2497 fixed: never try to move a physical album

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.3/admin/cat_modify.php

    r12575 r12590  
    8383    $_POST['parent'] = null;
    8484  }
    85  
    86   if ($cat_info['id_uppercat'] != $_POST['parent'])
     85
     86  // only move virtual albums
     87  if (empty($cat_info['dir']) and $cat_info['id_uppercat'] != $_POST['parent'])
    8788  {
    8889    move_categories( array($_GET['cat_id']), $_POST['parent'] );
Note: See TracChangeset for help on using the changeset viewer.