diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-08 19:41:17 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-05-08 19:41:17 +0000 |
commit | 08aa19a7b22338e6514438a1cc30192478cc758b (patch) | |
tree | f5366d75e91dfb066e56253fb65462b9abe770ee /lib/class/catalog.class.php | |
parent | 2878f7eebdb1cf4f7f6e597760581267cff35637 (diff) | |
download | ampache-08aa19a7b22338e6514438a1cc30192478cc758b.tar.gz ampache-08aa19a7b22338e6514438a1cc30192478cc758b.tar.bz2 ampache-08aa19a7b22338e6514438a1cc30192478cc758b.zip |
re-imposed my evil charset validation
Diffstat (limited to 'lib/class/catalog.class.php')
-rw-r--r-- | lib/class/catalog.class.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php index bde17ed9..63cbaada 100644 --- a/lib/class/catalog.class.php +++ b/lib/class/catalog.class.php @@ -504,6 +504,7 @@ class Catalog { if (strcmp($full_file,iconv(Config::get('site_charset'),Config::get('site_charset') . '//IGNORE',$full_file)) != '0') { debug_event('read',$full_file . ' has non-' . Config::get('site_charset') . ' characters and can not be indexed','1'); Error::add('catalog_add',$full_file . ' ' . _('does not match site charset')); + continue; } } // end if iconv |