aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2005-02-08 21:56:12 +0000
committerplegall <plg@piwigo.org>2005-02-08 21:56:12 +0000
commitec98902e5aa05c2c079e8ff87334c1a3ad0552d0 (patch)
tree1c119cfd368434853172a582615e26f2d619fff8
parentee0f6c9c712f2615cf002dd2c09116c16cf64066 (diff)
- bug fixed : no need to wrap iptc values into quotes, they are added by
mass_insert git-svn-id: http://piwigo.org/svn/trunk@730 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/include/functions_metadata.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/functions_metadata.php b/admin/include/functions_metadata.php
index 6173e2179..8e2d27a16 100644
--- a/admin/include/functions_metadata.php
+++ b/admin/include/functions_metadata.php
@@ -101,7 +101,7 @@ function update_metadata($files)
{
foreach (array_keys($iptc) as $key)
{
- $data[$key] = "'".addslashes($iptc[$key])."'";
+ $data[$key] = addslashes($iptc[$key]);
}
}
}