aboutsummaryrefslogtreecommitdiffstats
path: root/admin/element_set_global.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-02-28 20:58:45 +0000
committerplegall <plg@piwigo.org>2010-02-28 20:58:45 +0000
commitf1f59e937a3529b6342f1f23c7dda598d379e643 (patch)
tree1068f03cecf8781933608ff2765e9c3b839b2b4f /admin/element_set_global.php
parentd2872aacef1557557c9997befd1d3af085083c36 (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_global.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/admin/element_set_global.php b/admin/element_set_global.php
index 7bc8afe50..4264a0aa5 100644
--- a/admin/element_set_global.php
+++ b/admin/element_set_global.php
@@ -44,10 +44,10 @@ check_status(ACCESS_ADMINISTRATOR);
// +-----------------------------------------------------------------------+
// the $_POST['selection'] was already checked in element_set.php
-check_input_parameter('add_tags', @$_POST['add_tags'], true, PATTERN_ID);
-check_input_parameter('del_tags', @$_POST['del_tags'], true, PATTERN_ID);
-check_input_parameter('associate', @$_POST['associate'], false, PATTERN_ID);
-check_input_parameter('dissociate', @$_POST['dissociate'], false, PATTERN_ID);
+check_input_parameter('add_tags', $_POST, true, PATTERN_ID);
+check_input_parameter('del_tags', $_POST, true, PATTERN_ID);
+check_input_parameter('associate', $_POST, false, PATTERN_ID);
+check_input_parameter('dissociate', $_POST, false, PATTERN_ID);
if (isset($_POST['delete']))
{