瀏覽代碼

emby fix - maybe

causefx 8 年之前
父節點
當前提交
d238a7a31e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      api/functions/homepage-connect-functions.php

+ 1 - 1
api/functions/homepage-connect-functions.php

@@ -470,7 +470,7 @@ function embyConnect($action,$key=null,$skip=false){
                         $items[] = resolveEmbyItem($child);
                     }
 				}
-				$api['content'] = $items;
+				$api['content'] = array_filter($items);
 				return $api;
 			}
 		}catch( Requests_Exception $e ) {