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/element_set.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 '')
-rw-r--r-- | admin/element_set.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/element_set.php b/admin/element_set.php index bc722887b..d6eec5437 100644 --- a/admin/element_set.php +++ b/admin/element_set.php @@ -39,7 +39,7 @@ include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); // +-----------------------------------------------------------------------+ check_status(ACCESS_ADMINISTRATOR); -check_input_parameter('selection', @$_POST['selection'], true, PATTERN_ID); +check_input_parameter('selection', $_POST, true, PATTERN_ID); // +-----------------------------------------------------------------------+ // | caddie management | |