projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a61cf7a
)
fix an uninitialised value warning
author
Joey Hess
<joey@kodama.kitenet.net>
Sat, 5 Jan 2008 06:47:04 +0000
(
01:47
-0500)
committer
Joey Hess
<joey@kodama.kitenet.net>
Sat, 5 Jan 2008 06:47:04 +0000
(
01:47
-0500)
IkiWiki/CGI.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index 35c62ce3ea1900b728b742c0ab7c7c011fef0684..1522feb1ea822ddb1896ab99a1f1910cc4d31b19 100644
(file)
--- a/
IkiWiki/CGI.pm
+++ b/
IkiWiki/CGI.pm
@@
-353,7
+353,7
@@
sub cgi_editpage ($$) { #{{{
if (defined $type && length $type && $hooks{htmlize}{$type}) {
$type=possibly_foolish_untaint($type);
}
- elsif (defined $from) {
+ elsif (defined $from
&& exists $pagesources{$from}
) {
# favor the type of linking page
$type=pagetype($pagesources{$from});
}