Changeset 6909


Ignore:
Timestamp:
09/13/10 23:10:27 (9 years ago)
Author:
plg
Message:

bug 1850 fixed: strong check of $_GETcat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/comments.php

    r6602 r6909  
    105105if (isset($_GET['cat']) and 0 != $_GET['cat']) 
    106106{ 
     107  check_input_parameter('cat', $_GET, false, PATTERN_ID); 
     108   
    107109  $page['where_clauses'][] = 
    108110    'category_id IN ('.implode(',', get_subcat_ids(array($_GET['cat']))).')'; 
Note: See TracChangeset for help on using the changeset viewer.