diff --git a/functions.php b/functions.php index 100a1306e..087ba8a4e 100644 --- a/functions.php +++ b/functions.php @@ -5041,19 +5041,21 @@ } $expand_cdm = get_pref($link, 'CDM_EXPANDED'); + $show_excerpt = false; if ($expand_cdm && $score >= -100) { $cdm_cstyle = ""; + $show_excerpt = false; } else { $cdm_cstyle = "style=\"display : none\""; + $show_excerpt = true; } $mouseover_attrs = "onmouseover='postMouseIn($id)' onmouseout='postMouseOut($id)'"; print "