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:
45bc9ce
)
BugTrack2/235: Sort as string
author
henoheno
<henoheno>
Sat, 12 May 2007 08:00:50 +0000
(17:00 +0900)
committer
umorigu
<umorigu@gmail.com>
Tue, 25 Nov 2014 17:06:50 +0000
(
02:06
+0900)
lib/func.php
patch
|
blob
|
history
diff --git
a/lib/func.php
b/lib/func.php
index
09483dc
..
f4f13b7
100644
(file)
--- a/
lib/func.php
+++ b/
lib/func.php
@@
-267,7
+267,7
@@
function do_search($word, $type = 'AND', $non_format = FALSE, $base = '')
if (empty($pages))
return str_replace('$1', $s_word, $_msg_notfoundresult);
- ksort($pages);
+ ksort($pages
, SORT_STRING
);
$retval = '<ul>' . "\n";
foreach (array_keys($pages) as $page) {