Merge "jquery.tablesorter: testcases for the parsers"
[lhc/web/wiklou.git] / includes / db / DatabasePostgres.php
index ce14d7a..abf26e0 100644 (file)
@@ -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];
                        }
                }