summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Haug2011-04-27 06:58:46 (GMT)
committerNathan Haug2011-04-27 06:58:46 (GMT)
commit7e30528752eb1592f5352c5f21039854e9d44a2d (patch)
treef3a943186e092e996e3278a9e1454498dff55606
parentde192ea15647484f7f311e5c7d201f35086e60d1 (diff)
Issue #1080620 by m4olivei: Incorrect string value error when
uploading mp3 file; Ignore music_cd_identifier id3 tag.
-rw-r--r--filefield_meta/filefield_meta.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/filefield_meta/filefield_meta.module b/filefield_meta/filefield_meta.module
index 71b76a2..a232336 100644
--- a/filefield_meta/filefield_meta.module
+++ b/filefield_meta/filefield_meta.module
@@ -140,7 +140,7 @@ function filefield_meta(&$file) {
// Typically $type may be IDv2 (for MP3s) or quicktime (for AAC).
foreach ($values as $key => $value) {
$value = isset($value[0]) ? (string) $value[0] : (string) $value;
- if (!empty($value) && $key != 'coverart') {
+ if (!empty($value) && $key != 'coverart' && $key != 'music_cd_identifier') {
$file->data['tags'][$key] = html_entity_decode($value, ENT_QUOTES, 'UTF-8');
}
}