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 "Follow-up I0b781c11 (2a55449): use User::getAutomaticGroups()."
[lhc/web/wiklou.git]
/
includes
/
db
/
ORMTable.php
diff --git
a/includes/db/ORMTable.php
b/includes/db/ORMTable.php
index
bd6bf0b
..
a77074f
100644
(file)
--- a/
includes/db/ORMTable.php
+++ b/
includes/db/ORMTable.php
@@
-308,7
+308,7
@@
abstract class ORMTable implements IORMTable {
*/
public function count( array $conditions = array(), array $options = array() ) {
$res = $this->rawSelectRow(
- array( '
COUNT(*) AS rowcount
' ),
+ array( '
rowcount' => 'COUNT(*)
' ),
$this->getPrefixedValues( $conditions ),
$options
);