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/admin/element_set_global.php

    r4730 r5003  
    4545
    4646// the $_POST['selection'] was already checked in element_set.php
    47 check_input_parameter('add_tags', @$_POST['add_tags'], true, PATTERN_ID);
    48 check_input_parameter('del_tags', @$_POST['del_tags'], true, PATTERN_ID);
    49 check_input_parameter('associate', @$_POST['associate'], false, PATTERN_ID);
    50 check_input_parameter('dissociate', @$_POST['dissociate'], false, PATTERN_ID);
     47check_input_parameter('add_tags', $_POST, true, PATTERN_ID);
     48check_input_parameter('del_tags', $_POST, true, PATTERN_ID);
     49check_input_parameter('associate', $_POST, false, PATTERN_ID);
     50check_input_parameter('dissociate', $_POST, false, PATTERN_ID);
    5151
    5252if (isset($_POST['delete']))
Note: See TracChangeset for help on using the changeset viewer.