Ignore:
Timestamp:
Mar 13, 2004, 12:15:45 AM (21 years ago)
Author:
z0rglub
Message:

bug 22 : can't create a virtual category at root (with a list of values as
parent category)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_3/admin/cat_list.php

    r330 r389  
    6464    array_push( $errors, $lang['cat_error_name'] );
    6565  // does the uppercat id exists in the database ?
    66   if ( $_POST['associate'] == '' )
     66  if ( $_POST['associate'] == ''
     67       or $_POST['associate'] == '-1' )
    6768  {
    6869    $_POST['associate'] = -1;
Note: See TracChangeset for help on using the changeset viewer.