Changeset 1278 for trunk/admin/include/functions.php
- Timestamp:
- Apr 26, 2006, 11:08:44 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/include/functions.php
r1121 r1278 1570 1570 'name' => $category_name, 1571 1571 'rank' => ++$current_rank, 1572 'commentable' => $conf['newcat_default_commentable'],1572 'commentable' => boolean_to_string($conf['newcat_default_commentable']), 1573 1573 'uploadable' => 'false', 1574 1574 ); … … 1595 1595 else 1596 1596 { 1597 $insert{'visible'} = $conf['newcat_default_visible'];1597 $insert{'visible'} = boolean_to_string($conf['newcat_default_visible']); 1598 1598 } 1599 1599 … … 1607 1607 else 1608 1608 { 1609 $insert{'status'} = $conf['newcat_default_status'];1609 $insert{'status'} = boolean_to_string($conf['newcat_default_status']); 1610 1610 } 1611 1611 } 1612 1612 else 1613 1613 { 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']); 1616 1616 $insert{'global_rank'} = $insert{'rank'}; 1617 1617 }
Note: See TracChangeset
for help on using the changeset viewer.