Changeset 6910


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

merge r6909 from branch 2.1 to trunk

bug 1850 fixed: strong check of $_GETcat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/comments.php

    r6601 r6910  
    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.