Fix display of hidden quoteblocks
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Jun 2009 05:49:39 +0000 (23:49 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Jun 2009 05:49:39 +0000 (23:49 -0600)
framework/Text_Filter/lib/Horde/Text/Filter/Highlightquotes.php

index a945c74..17705ce 100644 (file)
@@ -180,7 +180,7 @@ class Horde_Text_Filter_Highlightquotes extends Horde_Text_Filter
                     /* Add quote block start tags for each cite level. */
                     $out .= ($this->_params['citeblock'] ? '<div class="citation ' : '<font class="') .
                         'quoted' . (($i % $this->_params['cssLevels']) + 1) . '"' .
-                        ((($level == 0) && ($qcount > 8) && $this->_params['hideBlocks']) ? ' style="display:none"' : '') .
+                        ((($i == 0) && ($qcount > 8) && $this->_params['hideBlocks']) ? ' style="display:none"' : '') .
                         '>';
                 }
             }