Changeset 12590


Ignore:
Timestamp:
11/08/11 15:37:20 (7 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.