Closed (duplicate)
Project:
jPlayer
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2012 at 15:12 UTC
Updated:
11 May 2012 at 18:54 UTC
Jump to comment: Most recent file
Comments
Comment #1
dawehnerThis patch works perfectly for me, though i'm not sure whether checking for !empty is the right approach, but the array is always just array(), so it works for me.
Comment #2
dawehner*facepalm*
This time with the actual patch
Comment #3
jamescook commentedseems to work fine - thanks
Comment #4
deviantintegral commentedI committed a similar patch over at #1388882: Formatter should skip display of the player when there are no files. Note that you have to return an empty array otherwise a field label will still show.