r73862 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r73861
|
r73862
|
r73863
>
Date:
02:24, 28 September 2010
Author:
brion
Status:
ok
Tags:
Comment:
Fix tab/space, use null as default value rather than string to match expected return (cleanup from
r73859
)
Modified paths:
/trunk/phase3/includes/search/SearchEngine.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/search/SearchEngine.php
—
—
@@ -111,7 +111,7 @@
112
112
$allSearchTerms = array_merge( $allSearchTerms, $wgContLang->autoConvertToAllVariants( $searchterm ) );
113
113
}
114
114
115
- $titleResult = '';
115
+ $titleResult = null;
116
116
if ( !wfRunHooks( 'SearchGetNearMatchBefore', array( $allSearchTerms, &$titleResult ) ) ) {
117
117
return $titleResult;
118
118
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r73859
Define variable before usage in hook call
reedy
01:21, 28 September 2010
Status & tagging log
14:33, 28 September 2010
Reedy
(
talk
|
contribs
)
changed the
status
of r73862
[
removed:
resolved
added:
ok]
14:27, 28 September 2010
Reedy
(
talk
|
contribs
)
changed the
status
of r73862
[
removed:
new
added:
resolved]