# HG changeset patch # User Dan # Date 1218847142 14400 # Node ID eaeb479c52c9eee4b2a6c575f4993ef7e6c0293f # Parent 70fa9fdd6f25db1f946ea138885e8854585c0a18 Fixed typo that blanked out $html (oops) diff -r 70fa9fdd6f25 -r eaeb479c52c9 plugins/CategoryList.php --- a/plugins/CategoryList.php Fri Aug 15 10:25:31 2008 -0400 +++ b/plugins/CategoryList.php Fri Aug 15 20:39:02 2008 -0400 @@ -113,13 +113,14 @@ $have_subcats = true; - $ticker++; if ( $ticker == 3 ) { $ticker = 0; - $html = ''; + $html .= ''; $class = ( $class == 'row1' ) ? 'row2' : 'row1'; } + $ticker++; + $inner = '' . htmlspecialchars($row['name']) . ''; $html .= '' . $inner . ''; } @@ -160,13 +161,14 @@ $have_pages = true; - $ticker++; if ( $ticker == 3 ) { $ticker = 0; - $html = ''; + $html .= ''; $class = ( $class == 'row1' ) ? 'row2' : 'row1'; } + $ticker++; + $inner = '' . htmlspecialchars($row['name']) . ''; $html .= '' . $inner . ''; }