summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-08-03 15:17:28 +0100
committerAndrew Dolgov <[email protected]>2008-08-03 15:17:28 +0100
commitb84b68d9bd937d3c9df152a7f7c8167f37e2ace6 (patch)
treeb8410995a6eb56e9ad2edfb73c5a5f098bcd2a38 /functions.php
parent6d3a9973a0ed9645f1e8bc6b4d939682afbdd398 (diff)
attachments display: fix wrong type assignment
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 4ae5aa08e..5bb5ea386 100644
--- a/functions.php
+++ b/functions.php
@@ -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> ";