diff --git a/modules/document/document.item.php b/modules/document/document.item.php index 266bff782..afc3b8396 100644 --- a/modules/document/document.item.php +++ b/modules/document/document.item.php @@ -217,7 +217,7 @@ $attrs = array(); if($this->get('title_bold')=='Y') $attrs[] = "font-weight:bold;"; - if($this->get('title_color')) $attrs[] = "color:#".$this->get('title_color'); + if($this->get('title_color')&&$this->get('title_color')!='N') $attrs[] = "color:#".$this->get('title_color'); if(count($attrs)) return sprintf("%s", implode(';',$attrs), htmlspecialchars($title)); else return htmlspecialchars($title);