Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -225,7 +225,7 @@ |
226 | 226 | // get and display header |
227 | 227 | $r = '<table width="100%"><tr valign="top">'; |
228 | 228 | |
229 | | - $prev_start_char = ""; |
| 229 | + $prev_start_char = 'none'; |
230 | 230 | |
231 | 231 | // loop through the chunks |
232 | 232 | for($startChunk = 0, $endChunk = $chunk, $chunkIndex = 0; |
— | — | @@ -240,13 +240,13 @@ |
241 | 241 | $index < $endChunk && $index < count($articles); |
242 | 242 | $index++ ) |
243 | 243 | { |
244 | | - // check for change of starting letter or begging of chunk |
| 244 | + // check for change of starting letter or begining of chunk |
245 | 245 | if ( ($index == $startChunk) || |
246 | 246 | ($articles_start_char[$index] != $articles_start_char[$index - 1]) ) |
247 | 247 | |
248 | 248 | { |
249 | 249 | $cont_msg = ""; |
250 | | - if($articles_start_char[$index] == $prev_start_char) |
| 250 | + if ( $articles_start_char[$index] == $prev_start_char ) |
251 | 251 | $cont_msg = wfMsg('listingcontinuesabbrev'); |
252 | 252 | $r .= "</ul><h3>{$articles_start_char[$index]}$cont_msg</h3>\n<ul>"; |
253 | 253 | $prev_start_char = $articles_start_char[$index]; |