diff options
author | plegall <plg@piwigo.org> | 2010-02-28 20:58:45 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-02-28 20:58:45 +0000 |
commit | f1f59e937a3529b6342f1f23c7dda598d379e643 (patch) | |
tree | 1068f03cecf8781933608ff2765e9c3b839b2b4f /admin/picture_modify.php | |
parent | d2872aacef1557557c9997befd1d3af085083c36 (diff) |
improvement: avoid the use of @ instead of a real test
git-svn-id: http://piwigo.org/svn/branches/2.0@5003 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/picture_modify.php')
-rw-r--r-- | admin/picture_modify.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/picture_modify.php b/admin/picture_modify.php index 71b0d7777..60aabc7bf 100644 --- a/admin/picture_modify.php +++ b/admin/picture_modify.php @@ -33,8 +33,8 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); // +-----------------------------------------------------------------------+ check_status(ACCESS_ADMINISTRATOR); -check_input_parameter('image_id', $_GET['image_id'], false, PATTERN_ID); -check_input_parameter('cat_id', @$_GET['cat_id'], false, PATTERN_ID); +check_input_parameter('image_id', $_GET, false, PATTERN_ID); +check_input_parameter('cat_id', $_GET, false, PATTERN_ID); // +-----------------------------------------------------------------------+ // | synchronize metadata | |