Ignore:
Timestamp:
Dec 15, 2009, 1:33:57 AM (14 years ago)
Author:
plg
Message:

bug 1329 fixed: add a check_input_parameter function to prevent hacking
attempts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/picture_modify.php

    r3389 r4495  
    3434check_status(ACCESS_ADMINISTRATOR);
    3535
     36check_input_parameter('image_id', $_GET['image_id'], false, PATTERN_ID);
     37check_input_parameter('cat_id', @$_GET['cat_id'], false, PATTERN_ID);
     38
    3639// +-----------------------------------------------------------------------+
    3740// |                          synchronize metadata                         |
Note: See TracChangeset for help on using the changeset viewer.