From b69d7719bde9198d9fdbf3990ed8e430c5576076 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 14 Apr 2013 16:47:09 -0400 Subject: [PATCH] fixed people images being occasionally incorrect --- dashboard-ui/scripts/Itemdetailpage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index 3fc249bc4c..16b371eaa3 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -421,7 +421,7 @@ function renderCast(page, item) { var html = ''; - var casts = item.People || {}; + var casts = item.People || []; for (var i = 0, length = casts.length; i < length; i++) {