projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4286cbd
)
improved logic
author
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 30 Mar 2006 00:17:28 +0000
(
00:17
+0000)
committer
joey
<joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Thu, 30 Mar 2006 00:17:28 +0000
(
00:17
+0000)
IkiWiki/CGI.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index 08d79614217e0855a35fb99565c7adc5d5e0ea60..9e85e1f4402d8399f0714cba1d9cf34f470d3efe 100644
(file)
--- a/
IkiWiki/CGI.pm
+++ b/
IkiWiki/CGI.pm
@@
-487,13
+487,14
@@
sub cgi () { #{{{
my $q=CGI->new;
- if (defined $q->param('phrase')) {
- cgi_hyperestraier();
- }
-
my $do=$q->param('do');
if (! defined $do || ! length $do) {
- error("\"do\" parameter missing");
+ if (defined $q->param('phrase')) {
+ cgi_hyperestraier();
+ }
+ else {
+ error("\"do\" parameter missing");
+ }
}
# Things that do not need a session.