r53900 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r53899
|
r53900
|
r53901
>
Date:
20:49, 28 July 2009
Author:
brion
Status:
ok
Tags:
Comment:
And for good measure, force the count to an integer. Sigh... *stab php*
Modified paths:
/trunk/phase3/includes/SearchMySQL.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/SearchMySQL.php
—
—
@@ -172,7 +172,7 @@
173
173
$totalResult = $this->db->query( $this->getCountQuery( $filteredTerm, $fulltext ) );
174
174
$row = $totalResult->fetchObject();
175
175
if( $row ) {
176
- $total = $row->c;
176
+ $total = intval( $row->c );
177
177
}
178
178
$totalResult->free();
179
179
}
Status & tagging log
17:55, 21 August 2009
Brion VIBBER
(
talk
|
contribs
)
changed the
status
of r53900
[
removed:
new
added:
ok]