--- typo3conf/ext/dam/class.tx_dam_browse_media.php.orig	2007-08-22 20:01:05.093126181 +0000
+++ typo3conf/ext/dam/class.tx_dam_browse_media.php	2007-08-22 20:05:46.232995560 +0000
@@ -644,11 +644,11 @@
 		$this->damSC->selection->qg->query['FROM']['tx_dam'] = tx_dam_db::getMetaInfoFieldList(true, array('hpixels','vpixels','caption'));
 		#$this->damSC->selection->qg->addSelectFields(...
 		if ($allowedFileTypes) {
-			$extList = '"'.implode ('","', $allowedFileTypes).'"';
+			$extList = "'".implode ("','", $allowedFileTypes)."'";
 			$this->damSC->selection->qg->addWhere('AND tx_dam.file_type IN ('.$extList.')', 'WHERE', 'tx_dam.file_type');
 		}
 		if ($disallowedFileTypes) {
-			$extList = '"'.implode ('","', $disallowedFileTypes).'"';
+			$extList = "'".implode ("','", $disallowedFileTypes)."'";
 			$this->damSC->selection->qg->addWhere('AND tx_dam.file_type NOT IN ('.$extList.')', 'WHERE', 'NOT tx_dam.file_type');
 		}
 		$this->damSC->selection->execSelectionQuery(TRUE);
