Changeset 5195 for trunk/search.php


Ignore:
Timestamp:
Mar 19, 2010, 11:25:39 PM (14 years ago)
Author:
plg
Message:

bug 1328: backport the pwg_token on trunk

bug 1329: backport the check_input_parameter on trunk

feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring
on this feature to make the code simpler and easier to maintain (I hope).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/search.php

    r5021 r5195  
    7272  if (isset($_POST['tags']))
    7373  {
    74     check_input_parameter('tags', $_POST['tags'], true, PATTERN_ID);
     74    check_input_parameter('tags', $_POST, true, PATTERN_ID);
    7575   
    7676    $search['fields']['tags'] = array(
     
    9393  if (isset($_POST['cat']))
    9494  {
    95     check_input_parameter('cat', $_POST['cat'], true, PATTERN_ID);
     95    check_input_parameter('cat', $_POST, true, PATTERN_ID);
    9696   
    9797    $search['fields']['cat'] = array(
Note: See TracChangeset for help on using the changeset viewer.