From b215559cc0cf364be549fb69314cc15dd5aca268 Mon Sep 17 00:00:00 2001 From: Benjamin Clot Date: Tue, 4 Dec 2018 18:03:54 +0100 Subject: [PATCH] Fix for Quantum Adapter empty size detection (#3329) --- modules/quantumBidAdapter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/quantumBidAdapter.js b/modules/quantumBidAdapter.js index d17423bc49d..f14ce3226f7 100644 --- a/modules/quantumBidAdapter.js +++ b/modules/quantumBidAdapter.js @@ -106,7 +106,7 @@ export const spec = { if (serverBody.cobj) { bid.cobj = serverBody.cobj; } - if (bidRequest.sizes) { + if (!utils.isEmpty(bidRequest.sizes)) { bid.width = bidRequest.sizes[0][0]; bid.height = bidRequest.sizes[0][1]; }