Bug fix when an array of filters is passed in

This commit is contained in:
sbarman 2011-06-20 20:19:13 -07:00
parent a6c48e3bc2
commit 2fbd6859f2

3
pdf.js
View File

@ -1229,7 +1229,8 @@ var Parser = (function() {
if (IsArray(filter)) {
var filterArray = filter;
var paramsArray = params;
for (filter in filterArray) {
for (var i = 0, ii = filter.length; i < ii; ++i) {
filter = filter[i];
if (!IsName(filter))
error("Bad filter name");
else {