From: henoheno Date: Sat, 12 May 2007 08:00:50 +0000 (+0900) Subject: BugTrack2/235: Sort as string X-Git-Tag: r1_5_end-eucjp~29 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d30d31ad153affbba35722477f1307509ac75cf5;p=pukiwiki%2Fpukiwiki.git BugTrack2/235: Sort as string --- diff --git a/lib/func.php b/lib/func.php index 09483dc..f4f13b7 100644 --- 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 = '