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 "Silently drop unknown titles in completion search"
[lhc/web/wiklou.git]
/
includes
/
cache
/
GenderCache.php
diff --git
a/includes/cache/GenderCache.php
b/includes/cache/GenderCache.php
index
1ec39a5
..
7228814
100644
(file)
--- a/
includes/cache/GenderCache.php
+++ b/
includes/cache/GenderCache.php
@@
-171,7
+171,7
@@
class GenderCache {
$res = $dbr->select( $table, $fields, $conds, $comment, [], $joins );
foreach ( $res as $row ) {
- $this->cache[$row->user_name] = $row->up_value ?
$row->up_value
: $default;
+ $this->cache[$row->user_name] = $row->up_value ?: $default;
}
}