Changeset 6910 for trunk/comments.php


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