From 0aef0fa99e0cf450e9510a519b6f9b98d023562f Mon Sep 17 00:00:00 2001 From: "Mr. E23" Date: Sat, 14 Feb 2004 13:00:22 +0000 Subject: [PATCH] Fixed bug causing different search actions on submit-by-return in IE and moz. Changed default search action to 'Go' --- includes/Skin.php | 2 +- wiki.phtml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 598181ec48..f817d61876 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -584,7 +584,7 @@ class Skin { . "\n" . " " - . ""; + . ""; return $s; } diff --git a/wiki.phtml b/wiki.phtml index 4093459b09..3fcf006245 100644 --- a/wiki.phtml +++ b/wiki.phtml @@ -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" ) ); -- 2.20.1