Revisión | 9e4b383334b8926d2c3e3831eb58639e2c079190 (tree) |
---|---|
Tiempo | 2014-11-26 01:52:33 |
Autor | henoheno <henoheno> |
Commiter | umorigu |
BugTrack2/226 unused $matches (pointed out by anonymous)
@@ -382,7 +382,7 @@ function page_list($pages, $cmd = 'read', $withfilename = FALSE) | ||
382 | 382 | } |
383 | 383 | } else { |
384 | 384 | $head = (preg_match('/^([A-Za-z])/', $page, $matches)) ? $matches[1] : |
385 | - (preg_match('/^([ -~])/', $page, $matches) ? $symbol : $other); | |
385 | + (preg_match('/^([ -~])/', $page) ? $symbol : $other); | |
386 | 386 | } |
387 | 387 | |
388 | 388 | $list[$head][$page] = $str; |