Changeset 1031 in ExiteCMS for branches/PLi-Fusion/administration/downloads.php
- Timestamp:
- 10/28/07 12:06:00 (5 years ago)
- File:
-
- 1 edited
-
branches/PLi-Fusion/administration/downloads.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/PLi-Fusion/administration/downloads.php
r861 r1031 183 183 } 184 184 // Then recurse through the download categories 185 $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id > 0 AND download_parent = 0 ORDER BY download_cat_id DESC LIMIT 1"); 186 if (dbrows($result) != 0) { 187 $data = dbarray($result); 185 $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_cat_id > 0 AND download_parent = 0 ORDER BY download_datestamp DESC"); 186 while($data = dbarray($result)) { 188 187 recurse_dc($data['download_cat_id'], 0); 189 188 }
Note: See TracChangeset
for help on using the changeset viewer.
