Changeset 6909


Ignore:
Timestamp:
Sep 13, 2010, 11:10:27 PM (14 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.