Ignore:
Timestamp:
Apr 26, 2006, 11:08:44 PM (19 years ago)
Author:
plg
Message:

merge -r1276:1277 from branch-1_6 to trunk (bug 228 fixed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r1121 r1278  
    15701570    'name' => $category_name,
    15711571    'rank' => ++$current_rank,
    1572     'commentable' => $conf['newcat_default_commentable'],
     1572    'commentable' => boolean_to_string($conf['newcat_default_commentable']),
    15731573    'uploadable' => 'false',
    15741574    );
     
    15951595    else
    15961596    {
    1597       $insert{'visible'} = $conf['newcat_default_visible'];
     1597      $insert{'visible'} = boolean_to_string($conf['newcat_default_visible']);
    15981598    }
    15991599
     
    16071607    else
    16081608    {
    1609       $insert{'status'} = $conf['newcat_default_status'];
     1609      $insert{'status'} = boolean_to_string($conf['newcat_default_status']);
    16101610    }
    16111611  }
    16121612  else
    16131613  {
    1614     $insert{'visible'} = $conf['newcat_default_visible'];
    1615     $insert{'status'} = $conf['newcat_default_status'];
     1614    $insert{'visible'} = boolean_to_string($conf['newcat_default_visible']);
     1615    $insert{'status'} = boolean_to_string($conf['newcat_default_status']);
    16161616    $insert{'global_rank'} = $insert{'rank'};
    16171617  }
Note: See TracChangeset for help on using the changeset viewer.