OSDN Git Service
(root)
/
pukiwiki
/
pukiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BugTrack/2435 Improve search result messages
[pukiwiki/pukiwiki.git]
/
lib
/
func.php
diff --git
a/lib/func.php
b/lib/func.php
index
9536393
..
a4dbc78
100644
(file)
--- a/
lib/func.php
+++ b/
lib/func.php
@@
-359,7
+359,7
@@
function do_search($word, $type = 'AND', $non_format = FALSE, $base = '')
$r_word = rawurlencode($word);
$s_word = htmlsc($word);
if (empty($pages))
- return str_replace('$1', $s_word,
$_msg_notfoundresult
);
+ return str_replace('$1', $s_word,
str_replace('$3', $count, $_msg_notfoundresult)
);
ksort($pages, SORT_STRING);