From ec98902e5aa05c2c079e8ff87334c1a3ad0552d0 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 8 Feb 2005 21:56:12 +0000 Subject: - 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 --- admin/include/functions_metadata.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); } } } -- cgit v1.2.3