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 "Add BeforeResetNotificationTimestamp hook"
[lhc/web/wiklou.git]
/
includes
/
search
/
SearchOracle.php
diff --git
a/includes/search/SearchOracle.php
b/includes/search/SearchOracle.php
index
9cd245a
..
0cbb41c
100644
(file)
--- a/
includes/search/SearchOracle.php
+++ b/
includes/search/SearchOracle.php
@@
-98,7
+98,7
@@
class SearchOracle extends SearchDatabase {
if ( is_null( $this->namespaces ) ) {
return '';
}
- if (
!count( $this->namespaces )
) {
+ if (
$this->namespaces === []
) {
$namespaces = '0';
} else {
$namespaces = $this->db->makeList( $this->namespaces );