Changeset 4400 for branches


Ignore:
Timestamp:
Dec 1, 2009, 1:03:17 AM (14 years ago)
Author:
plg
Message:

bug 1301 fixed: it is now possible to move root category 4 into root category

  1. Sometimes a single comma makes a huge difference!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/include/functions.php

    r4213 r4400  
    12321232      // technically, you can't move a category with uppercats 12,125,13,14
    12331233      // into a new parent category with uppercats 12,125,13,14,24
    1234       if (preg_match('/^'.$category['uppercats'].'/', $new_parent_uppercats))
     1234      if (preg_match('/^'.$category['uppercats'].',/', $new_parent_uppercats))
    12351235      {
    12361236        array_push(
Note: See TracChangeset for help on using the changeset viewer.