Fixed bug causing different search actions on submit-by-return in IE and moz. Changed...
[lhc/web/wiklou.git] / wiki.phtml
index 4093459..3fcf006 100644 (file)
@@ -40,10 +40,10 @@ if ( "" == $title && "delete" != $action ) {
 wfProfileOut( "main-misc-setup" );
 
 if ( "" != $search ) {
-       if($go) {
-               wfGo( $search );
-       } else {
+       if( isset($_REQUEST['fulltext']) ) {
                wfSearch( $search );
+       } else {
+               wfGo( $search );
        }
 } else if( !$wgTitle or $wgTitle->getInterwiki() != "" or $wgTitle->getDBkey() == "" ) {
        $wgTitle = Title::newFromText( wfMsg( "badtitle" ) );