From: Tim Starling Date: Sat, 26 Jun 2004 12:56:44 +0000 (+0000) Subject: fixing broken search links e.g. from prev/next links on results page X-Git-Tag: 1.5.0alpha1~2764 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=4f189276aec72e9016eba9af723027433d2c5f7e;p=lhc%2Fweb%2Fwiklou.git fixing broken search links e.g. from prev/next links on results page --- diff --git a/index.php b/index.php index 3eb25720a6..9eb5e29f5d 100644 --- a/index.php +++ b/index.php @@ -56,7 +56,7 @@ if ( !is_null( $wgTitle ) && !$wgTitle->userCanRead() ) { if ( $search = $wgRequest->getText( 'search' ) ) { $wgTitle = Title::makeTitle( NS_SPECIAL, "Search" ); - if( $wgRequest->getVal( 'fulltext' ) ) { + if( $wgRequest->getVal( 'fulltext' ) || !is_null( $wgRequest->getVal( 'offset' ) ) ) { wfSearch( $search ); } else { wfGo( $search );