Ignore:
Timestamp:
Feb 28, 2010, 9:58:45 PM (14 years ago)
Author:
plg
Message:

improvement: avoid the use of @ instead of a real test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/search.php

    r4752 r5003  
    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.