Ignore:
Timestamp:
10/28/07 12:06:00 (5 years ago)
Author:
hverton
Message:

Merged trunk revision 1027:1030 into the PLi-Fusion branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PLi-Fusion/administration/downloads.php

    r861 r1031  
    183183    } 
    184184    // 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)) { 
    188187        recurse_dc($data['download_cat_id'], 0); 
    189188    } 
Note: See TracChangeset for help on using the changeset viewer.