Bug fix when an array of filters is passed in
This commit is contained in:
parent
a6c48e3bc2
commit
2fbd6859f2
3
pdf.js
3
pdf.js
@ -1229,7 +1229,8 @@ var Parser = (function() {
|
|||||||
if (IsArray(filter)) {
|
if (IsArray(filter)) {
|
||||||
var filterArray = filter;
|
var filterArray = filter;
|
||||||
var paramsArray = params;
|
var paramsArray = params;
|
||||||
for (filter in filterArray) {
|
for (var i = 0, ii = filter.length; i < ii; ++i) {
|
||||||
|
filter = filter[i];
|
||||||
if (!IsName(filter))
|
if (!IsName(filter))
|
||||||
error("Bad filter name");
|
error("Bad filter name");
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user