OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdc1135
)
BugTrack2/226 unused $matches (pointed out by anonymous)
author
henoheno
<henoheno>
Sun, 1 Apr 2007 10:59:05 +0000
(19:59 +0900)
committer
umorigu
<umorigu@gmail.com>
Tue, 25 Nov 2014 16:52:33 +0000
(
01:52
+0900)
lib/func.php
patch
|
blob
|
history
diff --git
a/lib/func.php
b/lib/func.php
index
cc9c0f3
..
c92573a
100644
(file)
--- a/
lib/func.php
+++ b/
lib/func.php
@@
-382,7
+382,7
@@
function page_list($pages, $cmd = 'read', $withfilename = FALSE)
}
} else {
$head = (preg_match('/^([A-Za-z])/', $page, $matches)) ? $matches[1] :
- (preg_match('/^([ -~])/', $page
, $matches
) ? $symbol : $other);
+ (preg_match('/^([ -~])/', $page) ? $symbol : $other);
}
$list[$head][$page] = $str;