aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-07-08 09:07:39 +0000
committerplegall <plg@piwigo.org>2006-07-08 09:07:39 +0000
commit5dcc4de9f360817cb8320f5643ccc38e9f026795 (patch)
tree625317a1390565e224c4177344525b4314ade3c8
parentae863dc6abb375fed5f1372c43c69e9d2def36a8 (diff)
bug 455 fixed: deleting a tag also add a tag if "add tag" box filled.
git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1440 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/tags.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/tags.php b/admin/tags.php
index 7ff29727c..8f3ca5bee 100644
--- a/admin/tags.php
+++ b/admin/tags.php
@@ -147,7 +147,7 @@ DELETE
// | add a tag |
// +-----------------------------------------------------------------------+
-if (isset($_POST['add_tag']) and !empty($_POST['add_tag']))
+if (isset($_POST['add']) and !empty($_POST['add_tag']))
{
if (function_exists('mysql_real_escape_string'))
{