From b84b68d9bd937d3c9df152a7f7c8167f37e2ace6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 3 Aug 2008 15:17:28 +0100 Subject: [PATCH] attachments display: fix wrong type assignment --- functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions.php b/functions.php index 4ae5aa08..5bb5ea38 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 .= " "; @@ -5180,7 +5180,7 @@ $entry = ""; - if (($ctype = __("audio/mpeg")) && + if (($ctype == __("audio/mpeg")) && (get_pref($link, "ENABLE_FLASH_PLAYER")) ) { $entry .= " "; -- 2.39.5