Changeset 913
- Timestamp:
- Oct 23, 2005, 11:43:26 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/update.php
r858 r913 117 117 $db_fulldirs = array_flip($db_fulldirs); 118 118 119 // finding next rank for each id_uppercat 119 // finding next rank for each id_uppercat. By default, each category id 120 // has 1 for next rank on its sub-categories to create 120 121 $next_rank['NULL'] = 1; 121 122 123 $query = ' 124 SELECT id 125 FROM '.CATEGORIES_TABLE.' 126 ;'; 127 $result = pwg_query($query); 128 while ($row = mysql_fetch_array($result)) 129 { 130 $next_rank[$row['id']] = 1; 131 } 132 133 // let's see if some categories already have some sub-categories... 122 134 $query = ' 123 135 SELECT id_uppercat, MAX(rank)+1 AS next_rank -
trunk/doc/ChangeLog
r912 r913 1 1 2005-10-23 Pierrick LE GALL 2 3 * bug fixed: during file tree synchronization, warning on finding 4 the next rank of category which has no sub-categories yet. 5 2 6 2005-10-23 chrisaga 3 7
Note: See TracChangeset
for help on using the changeset viewer.