Changeset 1160 in ExiteCMS


Ignore:
Timestamp:
12/08/07 00:10:20 (4 years ago)
Author:
hverton
Message:

fixed typo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/downloads.php

    r1158 r1160  
    107107    // get all root categories 
    108108    $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"); 
    110110    if ($result) { 
    111111        // 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.