Changeset 1160 in ExiteCMS
- Timestamp:
- 12/08/07 00:10:20 (4 years ago)
- File:
-
- 1 edited
-
trunk/downloads.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/downloads.php
r1158 r1160 107 107 // get all root categories 108 108 $variables['subcats'] = false; 109 $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_parent='0' AND ".groupaccess('download_cat_access').($where= ""?"":(" AND ".$where))." ORDER BY download_datestamp DESC");109 $result = dbquery("SELECT * FROM ".$db_prefix."download_cats WHERE download_parent='0' AND ".groupaccess('download_cat_access').($where==""?"":(" AND ".$where))." ORDER BY download_datestamp DESC"); 110 110 if ($result) { 111 111 // any downloads in the 'root' are public, and ordered by download_id DESC, by default!
Note: See TracChangeset
for help on using the changeset viewer.
