OSDN Git Service
(root)
/
fswiki
/
fswiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e87920
)
redirect()メソッドの引数$partのチェック方法を変更。
author
takezoe
<takezoe@users.osdn.me>
Thu, 28 Jul 2011 09:20:54 +0000
(09:20 +0000)
committer
takezoe
<takezoe@users.osdn.me>
Thu, 28 Jul 2011 09:20:54 +0000
(09:20 +0000)
lib/Wiki.pm
patch
|
blob
|
history
diff --git
a/lib/Wiki.pm
b/lib/Wiki.pm
index
00c3c9e
..
6e6fb15
100644
(file)
--- a/
lib/Wiki.pm
+++ b/
lib/Wiki.pm
@@
-1491,7
+1491,7
@@
sub redirect {
my $page = shift;
my $part = shift;
my $url = $self->create_page_url($page);
- if($part){
+ if($part
ne ""
){
$url .= "#p".Util::url_encode($part);
}
$self->redirectURL($url);