attachments display: fix wrong type assignment
This commit is contained in:
parent
6d3a9973a0
commit
b84b68d9bd
|
@ -4712,7 +4712,7 @@
|
|||
|
||||
$entry = "";
|
||||
|
||||
if (($ctype = __("audio/mpeg")) &&
|
||||
if (($ctype == __("audio/mpeg")) &&
|
||||
(get_pref($link, "ENABLE_FLASH_PLAYER")) ) {
|
||||
|
||||
$entry .= "<object type=\"application/x-shockwave-flash\" data=\"extras/button/musicplayer.swf?song_url=$url\" width=\"17\" height=\"17\"> <param name=\"movie\" value=\"extras/button/musicplayer.swf?song_url=$url\" /> </object> ";
|
||||
|
@ -5180,7 +5180,7 @@
|
|||
|
||||
$entry = "";
|
||||
|
||||
if (($ctype = __("audio/mpeg")) &&
|
||||
if (($ctype == __("audio/mpeg")) &&
|
||||
(get_pref($link, "ENABLE_FLASH_PLAYER")) ) {
|
||||
|
||||
$entry .= "<object type=\"application/x-shockwave-flash\" data=\"extras/button/musicplayer.swf?song_url=$url\" width=\"17\" height=\"17\"> <param name=\"movie\" value=\"extras/button/musicplayer.swf?song_url=$url\" /> </object> ";
|
||||
|
|
Loading…
Reference in New Issue