mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
Resolved Issue ID 0000447:
o Fix Incorrect Tag Translations git-svn-id: http://piwigo.org/svn/trunk@1452 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -1756,7 +1756,7 @@ function tag_id_from_tag_name($tag_name)
|
||||
$tag_name = mysql_escape_string($tag_name);
|
||||
}
|
||||
|
||||
// does the tag already exist?
|
||||
// does the tag already exists?
|
||||
$query = '
|
||||
SELECT id
|
||||
FROM '.TAGS_TABLE.'
|
||||
|
||||
+3
-3
@@ -78,7 +78,7 @@ SELECT id, name
|
||||
array_push(
|
||||
$page['errors'],
|
||||
sprintf(
|
||||
l10n('Tag "%s" already exist'),
|
||||
l10n('Tag "%s" already exists'),
|
||||
$tag_name
|
||||
)
|
||||
);
|
||||
@@ -158,7 +158,7 @@ if (isset($_POST['add']) and !empty($_POST['add_tag']))
|
||||
$tag_name = mysql_escape_string($_POST['add_tag']);
|
||||
}
|
||||
|
||||
// does the tag already exist?
|
||||
// does the tag already exists?
|
||||
$query = '
|
||||
SELECT id
|
||||
FROM '.TAGS_TABLE.'
|
||||
@@ -192,7 +192,7 @@ SELECT id
|
||||
array_push(
|
||||
$page['errors'],
|
||||
sprintf(
|
||||
l10n('Tag "%s" already exist'),
|
||||
l10n('Tag "%s" already exists'),
|
||||
$tag_name
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user