dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "jquery.tablesorter: testcases for the parsers"
[lhc/web/wiklou.git]
/
includes
/
db
/
DatabasePostgres.php
diff --git
a/includes/db/DatabasePostgres.php
b/includes/db/DatabasePostgres.php
index
ce14d7a
..
abf26e0
100644
(file)
--- a/
includes/db/DatabasePostgres.php
+++ b/
includes/db/DatabasePostgres.php
@@
-712,7
+712,7
@@
class DatabasePostgres extends DatabaseBase {
$row = $this->fetchRow( $res );
$count = array();
if ( preg_match( '/rows=(\d+)/', $row[0], $count ) ) {
- $rows = $count[1];
+ $rows =
(int)
$count[1];
}
}