Changeset 7487
- Timestamp:
- 10/30/10 00:33:52 (3 years ago)
- Files:
-
- 1 modified
-
branches/2.1/comments.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/comments.php
r6909 r7487 106 106 { 107 107 check_input_parameter('cat', $_GET, false, PATTERN_ID); 108 109 $category_ids = get_subcat_ids(array($_GET['cat'])); 110 if (empty($category_id)) 111 { 112 $category_ids = array(-1); 113 } 108 114 109 115 $page['where_clauses'][] = 110 'category_id IN ('.implode(',', get_subcat_ids(array($_GET['cat']))).')';116 'category_id IN ('.implode(',', $category_ids).')'; 111 117 } 112 118
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)